954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

window.open not workin in firefox

hello all

i am using a link on clicking which a new pop up window should open like

<a href="#" onclick="Popup(f_date,f_date1)">&nbsp;Add more</a>


function Popup(date,date1)
{
var f_date=document.getElementById("f_date").value;
var f_date1=document.getElementById("f_date1").value;
window.open("multipleSchedule.jsp?date="+f_date+"&date1="+f_date1, "window", "toolbar=no,scrollbars=no,height=220,width=510");
}


it is workin fine in ie6 and ie8 but in firefox on clicking it nothing is happening.

please help me out

manish250
Junior Poster in Training
88 posts since Aug 2008
Reputation Points: 10
Solved Threads: 1
 

Hi,
Your code seem to be working fine. Are you getting Javascript any errors? If any please check your error console. Also is there any use of passing the two parameters to the function.

@developer
Junior Poster in Training
70 posts since Nov 2010
Reputation Points: 13
Solved Threads: 10
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: