You might want to see if this is your problem:

If you have a set of functions, jQuery or otherwise in the main page,
then you reload an inner div with Ajax content, you will very likely
find that the new Ajax'ed content can no longer reach the functions in
the main page.  There is some sort of binding issue that really tears
up in this scenario.  I've found that putting my direct function calls
in the content that's returned works better.

Doesn't work:
<body>
   <script>function a() {}</script>
   <div><a onclick="a();">whatever</a></div>
</body>

Does work:
<body>
   <div>
      <script>function a() {}</script>
      <a onclick="a();">whatever</a>
   </div>
</body>

...where the <div>'s content changes via outer ajax functions.


On Oct 28, 7:12 am, Byte1234 <[EMAIL PROTECTED]> wrote:
> I have a form with updatePanel. I ahve Jquery inimplemented on this
> form.
>
> Everything works fine, but when a asynchronous postback takes place
> when I clickc the button inside the updatePanle, all Jquery features
> goes away.
>
> I googled for this and found that, I need to write the Jquery code in
> PageLoad, can anyone give me a sample code example for this...?? Also
> How to check in jquery , if a perticular radiobutton is checked/
> selected...???
>
>  Thanks in advance....

Reply via email to