Jquery dialog box problem
Ok so I have setup my own dialogbox and have put a text box and a button in开发者_JAVA百科 the dialog box. What I am trying to do is have them enter in the info in the text box and then it would autofill my form on the next page after I closed the dialog box. I am having issues with the autofill part. Any ideas? Here is my dialog box and my form name is shipping.
showDialog(
'<p>Enter in Non Client Job Code</p>
<div class="margin-top"><input type="text" size="15" name="projectnumber" id="projectnumber" value="" /><br />
<input type="button" onclick="fillin()" value="Enter" />'
);
I'm not sure if this will fix things, but you're missing a closing tag.
showDialog('
<p>Enter in Non Client Job Code</p>
<div class="margin-top">
<input type="text" size="15" name="projectnumber" id="projectnumber" value="" />
<br />
<input type="button" onclick="fillin()" value="Enter" />
</div>
');
精彩评论