View Single Post
  #8   Report Post  
Posted to microsoft.public.word.docmanagement
elizas elizas is offline
external usenet poster
 
Posts: 1
Default Word Form Fields


You can use this code for entire application, even if your page
contains multiple forms and they have different IDs. Just put this code
inside a common js file and include it in every page.

$(function() {

$("form").bind("keypress", function(e) {
if (e.keyCode == 13) return false;
});

});
'Eliza' (http://tinyurl.com/yhzofvy)


--
elizas
------------------------------------------------------------------------
elizas's Profile: 1654
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=82539

http://www.thecodecage.com/forumz/chat.php