Click here to Skip to main content
15,907,906 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: SessionTimeOut Problem Pin
shaina22318-Mar-10 23:51
shaina22318-Mar-10 23:51 
AnswerRe: SessionTimeOut Problem Pin
DX Roster10-Mar-10 0:39
DX Roster10-Mar-10 0:39 
QuestionA little confused about jquery Pin
pig237-Mar-10 22:01
pig237-Mar-10 22:01 
AnswerRe: A little confused about jquery Pin
carlecomm8-Mar-10 16:03
carlecomm8-Mar-10 16:03 
GeneralRe: A little confused about jquery Pin
Not Active9-Mar-10 0:35
mentorNot Active9-Mar-10 0:35 
QuestionRunning application with command line arguments from IE Pin
Mohammad A Gdeisat7-Mar-10 13:24
Mohammad A Gdeisat7-Mar-10 13:24 
AnswerRe: Running application with command line arguments from IE Pin
RCoate8-Mar-10 13:15
RCoate8-Mar-10 13:15 
QuestionQuestion about Javascript Pin
Sider897-Mar-10 6:10
Sider897-Mar-10 6:10 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script language="javascript" type="text/javascript">
            function exe() {
                var a = parseInt(document.getElementById("txt").value);
                var b = parseInt(document.getElementById("txt1").value);
                document.getElementById("txt2").value = a - b;
            }
        </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TextBox ID="txt" runat="server" />
        <asp:TextBox ID="txt1" runat="server" />
        <asp:TextBox ID="txt2" runat="server" />
        <asp:Button runat="server" Text="Click Me"  OnClientClick="return exe()"  />
        <input type="button" value="Click" onclick="return exe()" />
    </div>
    </form>
</body>
</html>


when I'm using javascript with HTML controls there is no postback, but with asp controls it dose postback...

is it my browser's fault??...
C# Developer

AnswerRe: Question about Javascript Pin
thatraja7-Mar-10 7:02
professionalthatraja7-Mar-10 7:02 
GeneralRe: Question about Javascript Pin
Not Active7-Mar-10 9:12
mentorNot Active7-Mar-10 9:12 
GeneralRe: Question about Javascript Pin
thatraja7-Mar-10 18:29
professionalthatraja7-Mar-10 18:29 
GeneralRe: Question about Javascript Pin
Not Active8-Mar-10 0:41
mentorNot Active8-Mar-10 0:41 
GeneralRe: Question about Javascript Pin
thatraja8-Mar-10 7:13
professionalthatraja8-Mar-10 7:13 
AnswerRe: Question about Javascript Pin
Not Active7-Mar-10 9:14
mentorNot Active7-Mar-10 9:14 
AnswerRe: Question about Javascript Pin
Nitin S24-Mar-10 1:03
professionalNitin S24-Mar-10 1:03 
QuestionNeed Help From a Microsoft CRM Developer Pin
just3ala26-Mar-10 21:10
just3ala26-Mar-10 21:10 
AnswerRe: Need Help From a Microsoft CRM Developer Pin
The Man from U.N.C.L.E.8-Mar-10 2:57
The Man from U.N.C.L.E.8-Mar-10 2:57 
GeneralRe: Need Help From a Microsoft CRM Developer Pin
just3ala28-Mar-10 9:56
just3ala28-Mar-10 9:56 
GeneralRe: Need Help From a Microsoft CRM Developer Pin
RCoate8-Mar-10 13:23
RCoate8-Mar-10 13:23 
QuestionWeb favicon Pin
franciscotorres1016-Mar-10 2:03
franciscotorres1016-Mar-10 2:03 
AnswerRe: Web favicon Pin
daveyerwin6-Mar-10 4:03
daveyerwin6-Mar-10 4:03 
Questionplease help to solve a display difference between Firefox and IE Pin
alexyxj5-Mar-10 7:52
alexyxj5-Mar-10 7:52 
AnswerRe: please help to solve a display difference between Firefox and IE Pin
Not Active5-Mar-10 7:59
mentorNot Active5-Mar-10 7:59 
GeneralRe: please help to solve a display difference between Firefox and IE Pin
alexyxj5-Mar-10 9:49
alexyxj5-Mar-10 9:49 
Questionposted data value in javascript Pin
i gr84-Mar-10 20:42
i gr84-Mar-10 20:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.