Hi all, I am trying to create a Javascript function that will return all javascript files loaded. For Example:
I load jquery.js, jquery.somescript.js, and tinymce.js
I want a function to return everything in script format (so if I were to save and run the return text again) it would work just as if I had called the files described abo...
Hi folks this is prob quiet simple but not sure how to do it.
I am loading pages into a div a simple like this:
$('.pageLink').click(function() {
var pagetoload = ($(this).attr('href').substring(5));
$('#adminArea').load(pagetoload+'.php');
return false;
});
That works no probs at all. Only thing is that I am using CKEditor on "seve...
I am developing a project that lately have been taking off with increased popularity.
This development is of course met with open arms and has also been somewhat expected. I have therefore taken every precaution I could about creating efficient and secure code. However, when it comes to server capacity I haven't had the financial means ...
What are the ways to mainatain the state in load balanced servers?
I am using one application which is hosted in two different servers. Now I want to check a record about whether it has already been taken by somebody to edit or not.
How to maintain a state inorder to accomplish my above requirement.
...
Hi all!
I'm successfully loading swf from another domain, but when i addChild loaded content, it doesn't appear on the stage.
My firebug shows that swf loaded with status (304 Not Modified), means no problem.
Why i cannot see loaded swf content on the stage?
Thank you
...
I have an iPhone app, with a tab bar controller. Before the tab bar is loaded, I present a modal view for registration. Once registration is completed this view is dismissed, and the tabs appear, with the "News" tab selected. For some reason, even though the News view is displaying, the viewDidLoad method of the News class is not being c...
Dear learned folk,
I made a web app that loads images using jquery, ajax and json. I got it to work in Firefox, but alas, Safari and Chrome remain stubborn.
It has to do with a "race condition" where images don't load quickly enough, so I have a load event as well as a trigger event to wait until all images are loaded before appending t...
So I have an iphone app that presents a modal view when it starts if the user has not registered. Once they register, it saves a user ID into NSUserDefaults. When the app starts at a later time, it needs to load this user id in the appdelegate file.
//Registration.m
NSUserDefaults *savedUID = [NSUserDefaults standardUserDefaults];
[save...
I have a tab bar application. In one of my tabs, there is a search bar and a table view below that. When you enter something into the search bar, it returns parsed xml. I need to put this parsed information into the tableview below. The class inherits from UIViewController. I declared a UITableView object in the header file and linked it...
Here is my issue. I have a screen in a tab bar application that display's a search bar, and a UITableView. When you first open the tab, the UITableView is empty. After you enter a search, the iphone gets and parses XML based on the query.
All of this is working fine. I add the xml data to the underlying array that SHOULD populate the t...
Hi all!
I have this problem... I need to load an image from the resources of my app that is called for example mystuff01.jpg but maybe be called mystuff01.gif or png, now, what's the best solution to do this?
In my mind there's a cycle to retrieve if the file exists and if exists load it...
there's a better solution?
thanks
...
Hi all,
I need to load a part of an image into a uiimageview... for example an image that is 100x100, only display 100x50...
thanks
...
hi,
i want to load JUST one part of my document,i had to use LOAD function bcause of this,so i tried this function.but i have a problem,i want to set method of this function to POST.i read in jquery manual that this function is using GET method by default,but if your data is an object it will use POST method.i dont know how to do that?i ...
Hi, I load external content to replace a DIV.
Problem is, when the ajax-loader.gif replaces the initial content the page shrinks in height and the scrollbar is likely to disappear. As soon as the external content is loaded the scrollbar reappears. That jerking takes away the smoothness.
Is there a smoother way? Maybe preserve the heigh...
I'm trying to load the current page into an iframe in a subset of the page via javascript. If I set the src to another page it works fine, but setting the src to location.href (or the current url specifically) renders an empty iframe. Why is this occuring, and how can I correct this?
var my_Frame=document.createElement('iframe');
my_...
Hi Guys,
I am trying to load 2 scripts in jquery only once a #element is clicked. Currently, I am trying to use:
jQuery("#element").click(function () {
jQuery('#elementcontainer').load('/js/jquery.script.js');
jQuery('#elementcontainer').load('/js/jquery.script2.js');
});
The problem is that the scripts load eve...
hey guys,
i'm a little confused.
i want to actually reload the same page and fetch a div with a certain id from it. so i'm trying to reload a part of website into the same part of the website. ;) i know it sounds weird.
somehow i don't get what i'm doing wrong or better how i have to do it.
var $sv = $('#server_view');
$sv.load('/serv...
hey guys,
i wondered if it's possible to just reload a specific div of a page without passing a url?
$('a.reload').live('click', function(e) {
$sv.load(" #inside")
});
if I click the reload-link i want just to reload the div with the ID inside on the current page. Is there a trick on how to do so with jquery?
regards ...
I don't know what other details I should provide. But I am very disoriented. I am not a web developer so I don't know what classes to use. It's not like I can tell the difference between HttpResponse, HttpHeader, HttpSession, HttpTransaction etc.
...
Hi all!
I had found a lot of stackoverflow post about save an Activity and the reload it.
My question: How can I have an Activity with an MapView and after reload the same mapview ?
What is the best way to switch between activity and views ?
Thanks:Karoly
...