Click here to Skip to main content
15,902,635 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wanted to open a popup in Mozilla without setting an option?
Posted
Updated 16-Sep-11 1:59am
v2
Comments
Manfred Rudolf Bihy 16-Sep-11 8:00am    
An what exactly is keeping you from doing this. What difficulties are you encountering?
Please share you experience or we wont be able to help you.
anupkulkarni85 16-Sep-11 8:13am    
i am opening one page into the on two dropdown.
Manfred Rudolf Bihy 16-Sep-11 10:27am    
What are you trying to tell us?
rkthiyagarajan 17-Sep-11 7:02am    
Clear your question again

Hi,

you can use jQuery for popups in a browser independent (cross-browser compatible) way. If you want to use jQuery you can send me a reply. I'll help you to use jQuery or you can search yourself on the internet.


All the best!
 
Share this answer
 
v3
Comments
Manfred Rudolf Bihy 16-Sep-11 10:33am    
jQuery is the way to go! 5+
Muralikrishna8811 19-Jan-12 7:19am    
thanks for editing
JavaScript
<script type="text/javascript">
    function openPopUp()
                    {
                        var popUrl = 'EditUser.aspx';
                    var name = 'popUp';
                    var appearence ='dependent=yes,menubar=no,resizable=yes,'+
                                          'status=no,toolbar=no,titlebar=no,' +
                                          'left=40,top=150,width=1300px,height=500px';
                    var openWindow = window.open(popUrl, name, appearence);
                    openWindow.focus();
                    }
    </script>


C#
protected void Page_Load(object sender, EventArgs e)
    {
        btn_Edit.Attributes.Add("onclick", "openPopUp('EditUser.aspx')");
        
        
    }
 
Share this answer
 
C#
//write code on dropdown_selectedindexchanged
response.write("<script>alert('your massage')<script>"); 
</script></script>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900