Jquery Load a file Without Iframe.

Jquery is a framework of Javascript. It is a well documented framework.

I m just giving information about load a file in DIV or in anyother object

HTML CODE

<div id="loadcleanupwizard"></div>

here suppose you have no content in the given div and you want to load a content from another file like .html, .php or etc… so you can do this with jquery

i have one file name is cleanupwizard.html so i am loading that file into div.

JQuery Code

$('#loadcleanupwizard').load('cleanupwizard.html');

I hope this will be usefull to you.

thanks have a good day.

Advertisements
Posted in jQuery. 2 Comments »

2 Responses to “Jquery Load a file Without Iframe.”

  1. wcdulanyjr Says:

    This is fantastic! I already use jQuery and jQueryUI to work with SharePoint 2010 and have on occasions had to use a web part to load another page, essential creating an iframe. It’s a bit bothersome due to the extra overhead. Plus I have to worry about a user changing the web part parameters. With this little tip I can secure page loads from curious end users.

  2. Jquery Load a file Without Iframe. (via Web Development Tips by Team Indies) « Grumpy Old Man's SharePoint Blog Says:

    […] Jquery is a framework of Javascript. It is a well documented framework. I m just giving information about load a file in DIV or in anyother object HTML CODE here suppose you have no content in the given div and you want to load a content from another file like .html, .php or etc… so you can do this with jquery i have one file name is cleanupwizard … Read More […]


Speak Your Mind

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: