I want to invoke a creation of div with certain class just below the invoke button, how can I do that most efficiently with jquery?
+1
A:
use the after method in the button's click handler
$(input_btn).click(function() {
$(this).after('<div class="myclass">content</div>')
})
maid450
2010-04-25 10:11:57
this however works
Gandalf StormCrow
2010-04-25 10:38:33