简体   繁体   中英

Jquery dialog box problem

Ok so I have setup my own dialogbox and have put a text box and a button in 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>
');

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM