nummer31 Posted August 19, 2010 Share Posted August 19, 2010 like the title says i found codes on the net for loading external files in a page but not sure about loading an external file's specific DIV(s) in a page it's really important or if smn can tell me what term can i use to search about it help will be highly appreciated Quote Link to comment Share on other sites More sharing options...
radar Posted August 20, 2010 Share Posted August 20, 2010 Really in order to a specific DIV you would have to load the entire external file, and trim it down so the output is only that specific div... good luck Quote Link to comment Share on other sites More sharing options...
nummer31 Posted August 21, 2010 Author Share Posted August 21, 2010 Really in order to a specific DIV you would have to load the entire external file, and trim it down so the output is only that specific div... good luck yes, i thought so but how do i do it? so far i can load the entire file but how do i only show the specific DIV i want to? Quote Link to comment Share on other sites More sharing options...
trq Posted August 21, 2010 Share Posted August 21, 2010 This is simple using jQuery. Its load() method takes a url optionally followed by a selector. See http://api.jquery.com/load/ Quote Link to comment Share on other sites More sharing options...
nummer31 Posted August 22, 2010 Author Share Posted August 22, 2010 This is simple using jQuery. Its load() method takes a url optionally followed by a selector. See http://api.jquery.com/load/ thanx a bunch man u don't know how much happy u made me :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.