penguine Posted May 22, 2008 Share Posted May 22, 2008 Hi When i use prompt window in internet explorer ,its edit area shows undefined.How can i remove that?(I think there is no problem is in ie6,but ie7 has problem).Thanks Link to comment Share on other sites More sharing options...
rangana Posted May 22, 2008 Share Posted May 22, 2008 Set it's default value: prompt('someText','defaultValue'); // Use '' for defaultValue if you don't want any default value For further reading:http://www.w3schools.com/JS/js_popup.asp Link to comment Share on other sites More sharing options...
penguine Posted May 22, 2008 Author Share Posted May 22, 2008 Thanks ,Its worked well. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.