let say i pass url, example.php?mode=select&ID=1#age
is it possible to add jquery fadeIn based on url?
this url will be on another page, when user click it, a page will load and hence the age filed should be fade in.
if this not possible, is there any other way?
You can check for the if there’s a
location.hashset ondocument.readyand if so, call.fadeIn()on that element, like this:So for example if your URL was
....#age, this would fade in theid="age"element.