SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    bahrain
    Posts
    553
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up hiding one and showing other

    hi
    i want to give users an opportunity to select some message templats which r stored in database. e.g thier r three templats and i want that on the form thier will be a text area and by default first template will be thier.now i will give the user to select between the three templats and thier will be three radio buttons thier.by defult first is checked and if he wants to see the second template he checks the second radio button and at the same time in text area second template will come ans same third too like this.

    now i dont want to load the page after and after.
    i want that alll data come when page is loaded and the when he navigates for templats ,templats in text area come without loading page. how can i do this?
    its urgent plzzz.....
    regards
    phphelp

  2. #2
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could use hidden elements to store the different templates and then use JavaScript to switch them.
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •