ASP.NET MVC 3.0 jquery unobtrusive ajax Failed on IE 8

יום ראשון, אפריל 10, 2011

Hi All, I'v notice a strange behavior when working with ASP.NET MVC 3.0 jquery unobtrusive ajax on forms HTML element on IE (internet explorer) 8. Razor code example for generating ajax call on a form element using unobtrusive ajax: @using (Ajax.BeginForm("MyAction", "MyController",  new AjaxOptions { HttpMethod = "POST" })){ Sometimes (not always) i'm getting a javascript error with the message "Falied" that come from the javascript file jquery.unobtrusive-ajax.js: The line is: $("form :submit").live("click", function (evt) { Well the only solution I can find is to modify jquery.unobtrusive-ajax.js code with the following code: $("form").find("submit").live("click", function (evt) { This fix the javascript error and the ajax call works always on IE 8. Until...
one comment

Jquery TreeView with RTL support

יום שישי, אוקטובר 15, 2010

Hi All, Well after month of silent (7 I think) I got back with a new post on Jquery TreeView. First you can download the plugin from here. I must say this plugin is amazing very fast even with large trees. The problem of Jquery TreeView is the lack of RTL (Right To Left) support for languages like: Hebrew, Arabic etc... If you got the same problem I have and you need Jquery TreeView RTL version you can download it from my blog right here. To the AJAX fans I also add a nice cool ajax application example you can download it from here. Hope it helps Cheers Rotem