2
Firebugで次のエラーが発生しました。jQuery 1.6.2の操作でエラーが発生しましたが、「コード:」がサポートされていません。まず、誰かが私にこのエラーの正確な意味を教えてもらえますか?第二に、私がやっていることは、ダイアログを使ってフォームを表示することです。これはうまく表示されますが、入力フィールドをクリックするたびにこのエラーが発生します。私は私のコードを添付しており、いくつかの指導に感謝のようになります。私の例いくつかにそれを修正する方法を発見jQuery 1.6.2操作でエラーが発生しました "コード:" 9
のjQuery 1.6.2 のjQuery UI-1.8.14
// Help function
function help() {
$(function() {
$('#feedback').dialog({
resizeable: true,
title: "Mail Help",
width: 500,
height: 420,
modal: true,
overlay: {
backgroundColor: "#000",
opacity: 0.3
}
});
$("feedback").dialog('open');
});
}
// Feedback form
<div id="form" style="display:none;">
<form method="post" id="feedback" class="webform" name="feedback">
<label for="company">Company</label>
<select name="company" id="company">
<option SELECTED VALUE="">Select an option</option>
<option value="Technical">Technical</option>
<option value="Database">Database</option>
<option value="Error">Error</option>
<option value="Other">Other</option>
</select>
<label for="name">Full Name:</label>
<input id="uname" name="uname" type="text" class="text ui-widget-content ui-corner-all inputbox uname" value="<?php echo $_SESSION['kt_name_usr']; ?>" />
<label for="email">Email address:</label>
<input id="email" name="email" type="text" class="text ui-widget-content ui-corner-all inputbox email" value="<?php echo $_SESSION['kt_email_usr']; ?>" />
<label for="position">Position:</label>
<input id="position" name="position" type="text" class="text ui-widget-content ui-corner-all inputbox position" />
<label for="feedbacknew">Feedback:</label>
<textarea id="feedbacknew" name="feedbacknew" cols="25" rows="3" type="text" class="text ui-widget-content ui-corner-all inputbox feedbacknew">Please make sure that any error messages or numbers are listed here </textarea><br />
<button id="submit" class="submit">Submit</button>
<div id="message"></div>
</form>
</div>
FORMをダイアログにしようとしたが、問題がある(わからない)場合は、代わりにDIVを試してください。 –
@pezhavk dosen'tは何の違いもありません。ありがとう – bollo
うまく動作しているようです: http://jsfiddle.net/petersendidit/VWbE9/1/ – PetersenDidIt