It seems (a) I am not alone and (b) this is the archetypal newbie question.
Yes there is a FAQ on this. And guess who didn't read it?
the answer is instead of
$("#link").click(function(){
// whatever
})
You do
$("#link").live("click", function(){
// whatever
})
This is going to change how I do jQuery forever. And I am embarrassed to say that I never knew it. Ho hum.
PS.
Another trick
Getting the text of a the selected value of a pulldown:
$('#categories').find(':selected').text()
No comments:
Post a Comment