Government Security
Network Security Resources

Jump to content

Photo

Action attribute

- - - - - javascript
  • Please log in to reply
2 replies to this topic

#1 Kaiba

Kaiba

    Private First Class

  • Members
  • 55 posts

Posted 09 July 2008 - 10:40 AM

Does anyone have an idea about changing the action attribute in asp.net forms , they're always set to the same page .

there's one here but i don't want to use javascript

i want to separate the code in .htm and .aspx files .

Anyone??
good plan + hard work + deep faith = great success

#2 hugopnr

hugopnr

    Specialist

  • Members
  • 112 posts

Posted 09 July 2008 - 12:17 PM

1. That code isn't Javascript, It is ASP.NET coded with C#.
2. That solution (extending the form) isn't for modifying any page you see on the net. It's designed for the pages you are developing, thus you have access to their ASP.NET objects during compile time.
"Power tends to corrupt, and absolute power corrupts absolutely. Great men are almost always bad men." -LORD ACTON
hugo.pnr~

#3 Kaiba

Kaiba

    Private First Class

  • Members
  • 55 posts

Posted 09 July 2008 - 06:27 PM

That code isn't Javascript, It is ASP.NET coded with C#

i've found this just after posting :P

anyway I hope I don't need any client side scripting as most of its features are blocked due to XSS attacks
good plan + hard work + deep faith = great success





Also tagged with one or more of these keywords: javascript