I have write same jquery ajax function on two different pages. In one page I got "Hi" and another page " Hi". why this extra space before Hi? see my code below
jQuery.ajax({
type:"POST",
data:"pid="+pid,
url:"mypage.php",
success:function(html){
});
In mypage.php page
echo "Hi";
I don't understand what happened ? How to get rid of it ?
// TODO: merge getter and getterSetter properties from widget prototype
// and plugin prototype
$[namespace][name].getterSetter = 'option';
} has no method 'extend'
I have also tried to solved this problem after read on jquery mobile blog but i am not succeeded. I have also tried jQuery.noConflict() but it not works.
I know that the problem is because I have used jquery ui core js on the page where I got the error. I have tried to put that js before the jquery mobile js, the error is gone but page displays nothing. I have used jquery ui core js for progress bar.