jQuery AJAX GET method


syntax

$.get(
	"http://www.somedomain.com/myscript.php",
	"{id:100}",
	function(data) { alert(data); },
	"text"
);

eg:
$.get('aj_lang_id.php', function(data){
if (data=="1"){
location.reload();
} else {
alert("Could not change to selected language");
}
});
Advertisements

jQuery Mega Menu & Cycle


Recently I have problem putting mega menu into existing page which previously use sothink dhtml menu. This page already have image slideshow using jQuery cycle. Unfortunately when I add mega menu, the image slideshow become frozen. After pulling my hairs for few minutes, the workaround is quite easy, just open jkmegamenu.js and comment the first line

// jQuery.noConflict();

that’s it, works like a charm…

jQuery Video Tutorial on Blip.TV


Note: to download videos using these links you’ll need to login (register if you don’t have account yet)

Day 1

Day 2

Day 3

Day 4

Day 5

Day 6

Day 7

Day 8
N/A

Day 9
N/A

Day 10

Day 11

Day 12

Day 13

N/A

Day 14

Day 15  Part 2