|
-
Dec 25th, 2014, 03:12 PM
#1
Thread Starter
Member
Is selector applied on client or server, when jQuery .load() is called with selector?
jQuery has a .load() method, which is a convenient helper for retrieving HTML and loading it into an element. The load() method can also be configured to return only a portion of the source HTML. The sought porting is identified with a CSS selector.
Code:
$("#loadHere").load("HtmlPage3.html #fooBar");
Is the whole file downloaded and the desired portion is selected on the client side? Or, does selection happen on the server side?
Any suggestion, insight or reference is really appreciated!
Best,
- Nick
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|