[jQuery] keypress, keydown + backspace : Firefox, Chrome, IE

2009-07-21 Thread Kris-I
Hello, I check the keycode, for all input (text) of the page, like this : $(document).ready(function() { $("input[type=text]").bind('keypress', function(e) { var code = (e.keyCode ? e.keyCode : e.which); if (code != 0 && code != 9 && code != 45 && code != 99)

[jQuery] Catch Exception

2009-07-22 Thread Kris-I
Hello, In my code (ASP.NET MVC using Nhibernate) , I do this : $(document).ready(function() { $('.DOFFDelete').click(function() { var id = $(this).attr("id"); $.post("/Customer/DayOffDelete", { customerid: getCustomerId(), doffId: id }, function(data) {

[jQuery] Text manipulation : retrieve tag

2009-07-23 Thread Kris-I
Hello, I have an HTML text with text and tags I'd like to get only the text between the tags Then I have this: start text Text to get end text i'd like to have this result ONLY: "Text to get" How can I do this ? Thanks,

[jQuery] Re: Text manipulation : retrieve tag

2009-07-23 Thread Kris-I
In fact all the text/code is in a variable, it's not display on the screen. The page is more like this : *strong text* MyMessage body {font-family:"Verdana";font-weight:normal;font-size: . 7em;color:black;} Server Error in '/' Application. My

[jQuery] no intellisense ...

2009-06-01 Thread Kris-I
Hello, I'm running Visual Studio 2008 SP1 on Windows 7 RC, I installed the KB958502, get the files jquery-1.3.2-vsdoc2.js and jquery-1.3.2.js placed in the root (but I tried other places) with the code below ... no intelisense . Do you have an idea why ? Thanks, <%@ Page Language="C#" AutoEve