Forums

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

Home Forums JavaScript Loading external divs into a page from submenu items

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #167752
    greggy
    Participant

    Hi Everyone,

    Ok so I am a first time user here great site !

    I have a question and really need some help here if possible….

    Basically I have a master.html page that needs a submenu … each submenu item will pull a div from anotheer html page into the master.html page div . I know I need to use AJAX and JQuery but assigning the code to each submenu item is proving to be a bit of a nightmare.

    I know I may of messed up by not providing a class in my css for the submenu in the first place but even if i had a submenu that was not just a copy of the main menu with a change of div id tags i still am unable to figure out how to load the external div from each different submenu click into the master.html page …. someone please put me out of my misery !

    Thanks kindly,
    Greg.

    #167802
    JohnMotylJr
    Participant

    Have you ever thought to use something like angular.js to feed your data without round trips to the server?

    http://angularjs.org/

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