Popular Posts
Dynamic load class & invoke method import java.io.FileInputStream; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.net.URL; import java.net.URLCla... jQuery serialize form to json $.fn.serializeObject = function() {     var o = {};     var a = this.serializeArray();     $.each(a, function() {         if (o[this.name]) ... .net closure Thread t = new Thread(() =>     {         while (true)         {             Console.WriteLine(DateTime.Now);             Thread.Sleep(10...
Stats
Change form attributes with JQuery
action = '/controller/action/id/';
target = 'upload_iframe';
enctype = 'multipart/form-data';    

$('#form1').attr("action",action);
$('#form1').attr("target",target);
$('#form1').attr("enctype",enctype);
In other browsers it works fine, but not in IE(6,7,8).