Action attribute of the form tag.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Deva Kumar
    New Member
    • Oct 2012
    • 5

    Action attribute of the form tag.

    I have developed a website using .net framework 4.0 and hosted it on the web. when I run the website both from the local source and the hosted website and compare both the source by right clicking on the page and selecting view page source I see the action attribute of the form tag in different values. That is in the website hosted on the Web the action attribute is empty string <form name="form1" method="post" action="" id="form1"> but the same page when run from local source the action attribute is with the value <form name="form1" method="post" action="default .aspx" id="form1">.

    How to set the action attribute with the value of action="default .aspx" which is hosted on the web?

    Thanks in advance....
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Publish your application again and overwrite the files that are on the server with the files produced by the publishing tool.

    -Frinny

    Comment

    Working...