This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center
                            
                        
                    
                
                                6年前关闭。
            
                    
My site here正在使用"uniform" jscript plugin,但它不起作用,我只是不确定将函数调用代码放在何处。

如果您转到“与我们联系”,则会看到该表格。这是代码:

<head>
<script src="/js/Uniform/jquery.uniform.js" type="text/javascript"></script>
<link rel="stylesheet" href="/css/Uniform.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/javascript">
   $("select, input, button, textarea").uniform();
</script>
</head>
<body class="contact">
<!--#include virtual="/Assets/Templates/Public/Franchise/Contact.asp"-->
<div class="middle-content-grey">
<%
If blnShowForm = True then
%>

<form name="FeedbackForm" method="post" action="Feedback.asp">
<input type="hidden" name="FormAction" value="New" />
<label>Name:
<span class="smaller">Main contact</span>
</label>
<input type="text" name="strCustomerName" value="<% = strCustomerName %>" size="50" maxlength="112" />
<br />
<label>Company Name:
<span class="smaller">If applicable</span>
</label>
<input type="text" name="strCompanyName" value="<% = strCompanyName %>" size="50" maxlength="100" />
<br />
<label>Email Address:
<span class="smaller">Primary email</span>
</label>
<input type="text" name="strEmailAddress" value="<% = strEmailAddress %>" size="50" maxlength="255" />
<br />
<label>Phone Number:
<span class="smaller">Primary phone</span>
</label>
<input type="text" name="strContactPhone" value="<% = strContactPhone %>" size="50" maxlength="20" />
<br />
<label>Comments:
<span class="smaller">Reason for your enquiry</span>
</label>
<textarea name="strComments" rows="8" value="<% = strComments %>" cols="30"></textarea>
<button class="medium blue form" type="submit">Submit</button>
<div class="spacer"></div>
</form>
    </div>
<br />
</div>
</body>


它使用来自uniform.css的精灵图像。

如果有人可以告诉我应该去哪里,将不胜感激。

最佳答案

我注意到的一件事是uniform.js出现错误,无法通过uniform()调用。似乎统一要求jQuery 1.4+,而您正在使用1.2.6。

从uniform.js

/*

Uniform v1.7.5
Copyright © 2009 Josh Pyles / Pixelmatrix Design LLC
http://pixelmatrixdesign.com

Requires jQuery 1.4 or newer

...

*/

10-08 04:19