Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- search form - open in new window


rocknbil - 5:26 pm on Mar 8, 2012 (gmt 0)


Heh. We're here to help, teach, and in doing so learn, not do the work for you. :-) That code was typed on the fly and MAY contain errors (in fact, looking at it, has an error in logic.) Try just replacing this one line

window.location.href = submitto;

with this

var day = new Date();
var id = day.getTime();
var params = 'width=700,height=700,scrollbars,resizable';
var win = open(submitto,id,params);


Thread source:: http://www.webmasterworld.com/javascript/4426068.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com