hello all

i have a jsp page in which i am opening a pop up window using following code.Now i want not to include toolbar,scrollbar in my pop up window.

window.open("multipleSchedule.jsp?date="+f_date+"&date1="+f_date1);
please tell me the way.I know i have to use toolbar=no but where to use in this code.i have been trying but every time i am getting javascript error.please help

Recommended Answers

All 3 Replies

The third argument. The second is the window name, the third is the 'features':

window.open("multipleSchedule.jsp?date="+f_date+"&date1="+f_date1, "window", "toolbar=no,scrollbars=no");

The third argument. The second is the window name, the third is the 'features':

window.open("multipleSchedule.jsp?date="+f_date+"&date1="+f_date1, "window", "toolbar=no,scrollbars=no");

Thanks.It solved my problem

Mark it solved, then :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.