View Single Post
11-24-2010, 05:34 PM
#2
Village Genius is offline Village Genius
Village Genius's Avatar
Status: Geek
Join date: Apr 2006
Location: Denver, CO
Expertise: Software
Software: Chrome, Notepad++
 
Posts: 6,894
iTrader: 18 / 100%
 

Village Genius will become famous soon enough

  Old

To display the action of a form when submitted:
Code:
$(".hook").submit(function(){ 
alert($(this).attr('action'));
return false; /*Stops the submission */ 
});