Hi,
Im having a problem with a JQuery function which is monitoring the radgrid when the page first loads the jquery does its job fine but if i send an ajax request to change the grid the jquery stops working! I looked atthe source before and after the request and the class the Jquery is looking for is applied ti the grid before and after request the jquery just isnt getting called after the request.
my jquery:
Any ideas?
Thanks
Im having a problem with a JQuery function which is monitoring the radgrid when the page first loads the jquery does its job fine but if i send an ajax request to change the grid the jquery stops working! I looked atthe source before and after the request and the class the Jquery is looking for is applied ti the grid before and after request the jquery just isnt getting called after the request.
my jquery:
| (function($) { |
| $(document).ready(function() { |
| $('.inputnormal').keydown(function(e) { |
| if (e.keyCode == 46 || e.keyCode == 8 || e.keyCode == 9) { |
| // let it happen, don't do anything |
| } |
| else { |
| // Ensure that it is a number and stop the keypress |
| if (e.keyCode < 48 || e.keyCode > 57) { |
| if (e.keyCode < 96 || e.keyCode > 105) { |
| e.preventDefault(); |
| } |
| } |
| } |
| }); |
| }); |
| })($telerik.$); |
Thanks