Solarpitch Posted September 17, 2010 Share Posted September 17, 2010 hey guys, im using the modal window facebox that displays a simple popup modal window. I have 4 textfields on my webpage and when I click on submit, a link or button.. doesnt really matter.. I want the modal to display with the contents of whats in the textfields. Just wondering how I can do this. It's pretty much taken the content from a textfield and display them in a dive on the page when a link is pressed. Quote Link to comment Share on other sites More sharing options...
iainwood Posted September 17, 2010 Share Posted September 17, 2010 Hi onclick="showText(idoftextboxwithtextin, idofdivforcontenttogointo)" function showText(myid,mydiv){ document.getElementByID(mydiv).innerHTML=document.getElementByID(myid).value } this do it for you? Quote Link to comment Share on other sites More sharing options...
Adam Posted September 17, 2010 Share Posted September 17, 2010 Can you show the layout of your form and how you're calling Facebox? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.