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....
How to set the action attribute with the value of action="default .aspx" which is hosted on the web?
Thanks in advance....
Comment