riix
7/24/2012 - 7:19 AM

URI 쿼리 탐색, Detect URI Query String

URI 쿼리 탐색, Detect URI Query String

$(document).ready(function() {
    if(document.location.search == "?msg=thanks") {
		$("#alert").html("Thanks for your submission!");
	} else if(document.location.search == "?msg=error") {
		$("#alert").html("There was an error with your submission!");
	} else {

    }
});