load

How can I modify this code to just affect normal links? (basic jQuery)

$(document).ready(function(){ $("a").click(function() { $("#content").load($(this).attr("href")); window.location.hash = $(this).attr("href"); return false; }); }); So I use this code to make all links load in the div (content). But I want all links that have a target of _blank (new page), to open up i...

jQuery .load and links are not clickable anymore?

Hi. I'm updating some data from sidebar when I click one element on mainside. When it's updating data from external file (calling same query what is in original sidebar) those links are not clickable any. Here is clip from my custom.js $(function() { $(".removeItem").click(function() { var commentContainer = $(this).parent(); ...

jquery load freezing the page

$(document).ready(function(){ $("a[href*='http://']:not([href*='"+location.hostname+"'])").attr("target","_blank"); $("a[target!='_blank'][target!='_top']").click(function(){ $("#actualcontent").load($(this).attr("href")); $("#nav").load('nav.php'); window.location.hash=$(this).attr("href"); return false; }); }); This c...

COM+ Registration Error

Peace all, I am currently having a trouble with registering a COM+ component. I tried to register it via the GUI (by dragging the DLL into the component folder). The error code I am getting is 80110425. The prequel to this error was a message saying something like this: "The DLL could not be loaded. Check to make sure all required appl...

NHibernate - child object is null

Using NHibernate 2.0, NHibernate class attributes for mappings, ASP.NET MVC to create a message board type app. I have 2 entities, Post and User. Post has an Owner property which is an instance of User. It also has a Replies property which is a collection of type ISet. The idea is that one post can have one level of replies, the same...

Jquery load external file that relies on jquery plugin

I have a set of jqueryui tabs that, when clicked, load in their content dynamically. It works great, except that one of the pages uses a jquery plugin itself. This results in two issues: The main page that holds the tabs throws an error when loaded because there is js that refers to elements that haven't loaded yet (those elements ar...

jQuery load question

I'm using jquery load function to scroll between pages of a calender in my page. I'm using this function $(document).ready(function(){ $('a.cal').bind('click', function(e) { var url = $(this).attr('href'); $('div#calender').load(url); e.preventDefault(); }); }); to assign the behavior to an...

Can not load an archived NSMutableArray into a new NSMutableArray

The App will save the NSMutableArray into a archive with no problems but as soon as I try and load the NSMutableArray back into a new NSMutableArray @ viewDidLoad the app will crash. I put a break point at the end of the code where "tempArray = [unarchiver decodeObjectForKey:kDataKey46];" and tempArray is being loaded with the archived ...

jQuery form submit

hi there, i have this files: JAVASCRIPT $(document).ready(function(){ $('a').click(function(){ $('div').load("formular.html",function(){ $('input[type="submit"]').click(function(){ $('form').submit(); }); }); }); }); formular.html <form action="gigi.php" name='formular...

Set timeout on jQuery .load

I want to have a timeout after 5 seconds and then display "Unable to fetch page". But im not sure how to go about it... Heres what I got so far... $(document).ready(function() { $('#content').html('<br><br><br><br><img src="load.gif" border="0"><br><br><strong>Generating Link...</strong>'); $("#content").load("ajax....

JQuery - ajax load

Hello, I have a div: <div id="inner"> Some content... </div> Now I need to load some file into inner-block, but save it's old content. $('#inner').load( 'pathToFile.html' ); Will replace old content of div. Thanks. So, as I understand my code should be: old = $('#inner').html(); $('#inner').load( 'pathToFile.html' ); $('#i...

loading Core Data

Hi there, I saw your post at: http://stackoverflow.com/questions/928177/provide-base-data-for-core-data-application I'd like to follow your steps to load Core Data, preferably from a csv or something. I don't have my data in an sql database yet. if you have time, can you help? thanks! asUwish ...

using jQuery (put at the bottom of the page) on specific page

Because of performance purposes I put loading of jQuery scripts at the bottom of the page (just before the closing body tag). My question is how to enable page specific scripts? I don't want to put everything inside $(document).ready method (again because of performance purposes). Update: I'm using a template system so I put jQuery loa...

need sample of jquery modal dialog content loaded from controller action

My ASP.NET MVC app opens and displays the dialog fine however I can't figure out how to get DB content into it. I have read about making an ajax call to get the data. My disconnect is how it gets displayed in my . Any links where this is done (full code). Thanks. ...

$(document).ready doesn't work in IE

Hello! In my page there is two links, register and login. The important one now is register. When I click it, it loads a .tpl file using jquery load function. In this tpl file I include a new js file with <script> ofcourse, and it works perfectly in safari, ff, opera and chrome, but of course, Why should it be working in IE? So my que...

How to show loading image when a big image is being loaded?

Hi all, How to show loading image when a big image is being loaded? As an example in Orkut when viewing a photo in user photo album there is a loading image shown over the photo until the Photo is completely loaded. I need to implement that feature. My question is how implement that feature? Is it possible without using JQuery? Plea...

What is the simplest way to display (and change) an image resource on a WPF dialog (using C++/CLI)?

I have a C++/CLI GUI application and I want to display an image as a visual aid for the user to see what step in a procedure they're at. This image will need to be changed each time the user selects the new step. Currently I'm using a picture box and have an image loaded from the disk at run time. So there are a few things I need to kno...

jQuery.load() - Inside External Javascript

Hi, i load an external page with $('#myContainer').load('myfile.html'); in myfile.html theres an <script type="text/javascript" src="otherscript.js"></script> Some users report that the otherscript.js is not loaded... i've tested a all common browsers (firefox, ie 6/7, safari, opera etc.) - i cant figure out why this wont work.....

jquery preload images

ok, so i have this "slideshow.html" containing just a bunch of pictures, and the "index.html". index.html <a href="">click</a> <ul></ul> slideshow.html <li><img src="1.jpg" alt="" /></li> <li><img src="2.jpg" alt="" /></li> <li><img src="3.jpg" alt="" /></li> and i have my script like this; $(document).ready(function(){ ...

jquery load function

i write following code <script type="text/javascript"> $(document).ready(function() { $('#disp').load('index.php', function(){ $('#lobar').hide(); }); }); </script> what i need to load index.php on page load in to div named: dis Thanks ...