Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript needed javascript help for avoiding page reload

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #33686
    sravz46
    Member

    Hi everyone,

    I am trying to hide the link and show the input text box on click of the Edit button.
    like this

    $('#Editbutton').click(function(){
    $('span.alink').fadeOut('fast');
    $('span.inputtext').fadeIn('fast');
    $('#Editbutton').hide();
    });

    and on frond end(dotnet nuke) when the user changes the text in the input(textbox),I just update the table with the changed value.—-This part is working good

    My question is when it updates the database the page is showing up the link which is fadeout and also showing the inputtext and the edit button

    I guess the page is getting refreshed.Can I stop that thing to happen in Jquery by any chance .Please let me know.

    Thanks,Sravz

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.