1
Answer

on moving from one web page to another web page ..the curren

deepa ashwi

deepa ashwi

11y
1k
1
on moving from one web page to another web page ..the current web page menu should be hidden:-eg:
after clicking on href="sale.aspx" the menu of that link that is "sale" has to disappear and other menus should appear and same way after clicking on href="Anniversary.aspx" the menu of that link that is "Anniversary Sale" has to disappear and other menus should appear...can anyone help me.
 

 
<tr>
        <td style="height: 24px; width:965px">
 
<div id="header" style="width: 936px">
 <a href="Home.aspx">Home</a><span>|</span>
              <a href="sale.aspx">Sale</a> <span>|</span>
                <a href="Annishow.aspx">Anniversary Sale</a><span>|</span>
                <a href="Forsale.aspx">Items For Sale </a> <span>|</span>
                 <a href="Saleinfo.aspx">Inform us a Sale</a> <span>|</span>
Answers (1)
3
Nitin Sontakke

Nitin Sontakke

NA 11.7k 2.2k 8y
Web technologies are evolving day-by-day and i am not quite up-to-date with the evolution.
 
However, I am pretty certain that you would need some sort of server-side processing. From the way you have framed the question, it seems to me, that you are not quite clear about the request-response model of http protocol on which the web works.
 
Connecting to sql server from javaScript, while might be possible (I am not sure), it is not a very good idea from security perspective, i guess.
 
And where would you put all your business logic?
 
Calling asp.net a front-end would be incorrect. It is a server side technology.
 
You can have all your front-end in HTML5, CSS and Javascript and write a server-side code in WebAPI.
 
You may wish to look into serverless architecture (I still not have looked into!)