what is equal to WebClient in javascript or jquery ?
Posted
by
kamiar3001
on Stack Overflow
See other posts from Stack Overflow
or by kamiar3001
Published on 2010-12-27T08:49:35Z
Indexed on
2010/12/27
10:54 UTC
Read the original article
Hit count: 321
I am using WebClient. This won't work because WebClient runs server side and therefore uses different session from the users. What is the client version in java script and jquery ?
Edit Section : I found a solution but it gives me error
var html = $.ajax({
url: mp,
//complete: hideBlocker,
async: false
}).responseText;
$("#HomeView").hide();
$("#ContentView").html(html); //in this line it gives me script error
$("#ContentView").show("fast");
the error says : SCRIPT5007: 'undefined' is null or not an object
the stop line is : var count = theForm.elements.length;
debugger is Microsoft internet explorer 9.0 beta
© Stack Overflow or respective owner