Can you wait for javascript callback?

前端 未结 9 1598
故里飘歌
故里飘歌 2020-11-29 22:21

I\'m trying to use the jQuery alerts dialog library from http://abeautifulsite.net/notebook/87 instead of the default alerts (which look pretty awful in my opinion). This se

9条回答
  •  失恋的感觉
    2020-11-29 23:07

    I think I have come up with a possible solution to this problem. I was reading this article: http://treasure4developer.wordpress.com/2008/06/23/calling-postback-event-from-javascript/

    Basically the idea is that you force the postback from javascript, at first I found that the postback would work but wouldn't call my button event, but after reading the article I found that I could detect if it was javascript postback and just call a method to do the processing

    Regards DotnetShadow

提交回复
热议问题