开发者

Jquery dialog box problem

开发者 https://www.devze.com 2023-03-06 02:10 出处:网络
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 autof

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>
');
0

精彩评论

暂无评论...
验证码 换一张
取 消