jQuery $.post() + IE8

前端 未结 4 689
面向向阳花
面向向阳花 2021-01-23 08:21
 


        
4条回答
  •  没有蜡笔的小新
    2021-01-23 09:02

    I figured it out. Im going to post the solution here in case it helps someone in future. The problem was with the url i was posting to. My url was a parameterised url and I was using a wrong syntax/format all along. The IE and non IE separation is not really needed. The answer lies in extracting the various components of the current url and pass it in $.post via the "data" array. Thanks for your inputs. Working code below:

     
     
    
     
    

提交回复
热议问题