Created
July 24, 2012 07:19
-
-
Save riix/3168555 to your computer and use it in GitHub Desktop.
URI 쿼리 탐색, Detect URI Query String
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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 { | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment