Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here is my Div tag in Page1.ASPX
<div id="dialog-NewTireSearch" style="display: none; overflow: hidden">
 </div>


There is another web form Search.ASPX

Now on button click I should open this Search.ASPX.
My Jquery Function I tried is
C#
function myfunc() {
    mfiJ.ajax(
      {
          type: "POST",
          dataType: "html",
          url: "Search.aspx",
          resizable: false,
          height: 300,
          width: 600,
          modal: true,
          autoOpen: true,
          success: function(html) {
              tag.hide();
          },
          error: function(html) {
              tag.hide();
          }
      });
}


Search Page has some drop downs, textboxes controls which doesn't show up. I have tried everything in google. Nothing has helped in opening my Search Page. Can anyone help me with this?
Posted
Updated 27-Feb-15 7:11am
v2
Comments
ZurdoDev 27-Feb-15 14:48pm    
$.ajax() is used for posting data to a webpage or webservice, not showing a web page. Use window.open.
Solai Raja 3-Mar-15 2:42am    
place iframe on your dialog box

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