PHP/MySQL Freelance
mobile: +39 3489215204
I lost some time to debug this
$("#link").click(function(){
$("#target").load('url/to/load');
});
The problem is on Internet Explorer (all version) that refuse to load data in #target, using $.get and innerHTML(data) do not help. The problem is with no well formed html! Internet Explorer refuse to load in dom a malformed html.
Thus
$("#link").click(function(){
$("#target").load('url/to/load');
window.open('url/to/load');
});
$("#testdiv").waiting({imgsrc:"/files/aj-blue.gif"});
to stop a waiting div
$("#testdiv").stopWaiting();
function upfield() {
var el = $('#selectedfield').children('[@selected]:first').prev();
$("#selectedfield")
.children('[@selected]')
.each(function(){
$(this).insertBefore(el);
});
}
function downfield() {
var el = $('#selectedfield').children('[@selected]:last').next();
$("#selectedfield")
.children('[@selected]')
.each(function(){
$(this).insertAfter(el);
el = $(el).next();
});
}
XMLHttpRequest use, works only if url is on same site. checklogin.php give <KO/> if login è fails <OK>XXX</OK> with XXX id of user when login è is ok