(I know this is a Lint forum but am sure you are a javascript expert)
I have a text box and a button on a form in my aspx page.
When the button is clicked a MethodOne() is invoked.
Problem:
---------
I do not want the page to refresh when Enter Key is clicked, instead, I want the same to method - MethodOne() to be invoked.
How can i do this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I am an armature - please help out,
I recently downloaded JavaScript Lint and tried to 'add' it in my Visual Studio 2005 ide.
I clicked on external tools - > add
Then I provided a suitable title for my tool.
However I did not know what values to put in the textboxes ‘Command’ and 'Arguments'
Any help would be appreciated, thanks.
Take a look at http://javascriptlint.com/docs/running_from_your_ide.htm. If you want to use the default settings, you don't have to specify the "-conf c:\path\to\configuration\file" in the Arguments.
Thanks Matthias,
Have left the argument portion blank.
When I click on the lint tool i get this error, don't understand what it means
Error: unrecognized parameter: Files\JavaScript
Try putting quotes around the command. Also, you will probably need at least this in your arguments:
-process "$(ItemPath)"
Let me know how this works.
Matthias,
Thank you very much it is working now :-) , after putting
-process "$(ItemPath)" in the Argument portion
Hallo Matthias,
(I know this is a Lint forum but am sure you are a javascript expert)
I have a text box and a button on a form in my aspx page.
When the button is clicked a MethodOne() is invoked.
Problem:
---------
I do not want the page to refresh when Enter Key is clicked, instead, I want the same to method - MethodOne() to be invoked.
How can i do this?