So, the problem is such as this: I have a method that does stuff and updates a progress bar. If I call the method after the form is fully loaded (i.e.: by assigning it to a button on the form) everything works fine. The problem is that I need the method to start working as soon as the form loads, by itself, so I would place it in the For...
I have already spent couple of weeks trying to use this tool to generate some webtest and load test. But every day it throws a weird problem for which I do not find anything in document.
examples:
Hidden variables (_lastfocus) not found in the context error.
Today, all of sudden it is now refusing to run some of the webtest which are ...
I know this is quite a vague question -- sorry about that. If I have a forum, shoutbox or something similar where users enter and submit data, running on PHP and MySQL, what is the best way to have the newly submitted content automatically display on the page for all users when it is submitted?
Much like a live newsfeed, if you like... ...
I am currently investigating a double request problem on my site. Not all the time, but sometimes, a requested page will in fact load twice...which is not a problem really until it is on a page with PHP that inserts stuff into my db on request (my tracking script).
I have read that an empty src in an image tag, and an empty url() in a c...
Hey Experts, please help me out with a dijit.Editor doubt.
I want to add a dijit.Editor dynamically to my Page using jQuery.
my code is:
jQuery(#foo).before("<textarea width='500px' name='page_text2[]' dojoType='dijit.Editor' ></textarea>");
The textarea gets created, but dijit.Editor does not show.
It seems dojo only parses elements...
I try to lead the types from an .dll (which is also referenced in the executing project). I call:
public static void LoadPlugin(string pluginFile)
{
Assembly assembly = Assembly.LoadFrom(pluginFile);
foreach (Type type in assembly.GetTypes())
{
// play with it
}
}
It loads just ...
I have a new project and need some advice about managing the application’s load.
The application will have over 500 users with about 70% of them logging on between 5 & 7pm each night. The users will pull down about 50 records, update the records and the save the changes back to the data base. Estimate each record will be updated in a...
I've followed Tim Heuer's video for dynamically loading other XAP's (into a 'master' Silverlight application), as well as some other links to tweak the loading of resources and am stuck on the particular issue of loading style resources from within the dynamically loaded XAP (i.e. the contents of Assets\Styles.xaml). When I run the maste...
I have some thumbnails and when you click on them I have a Modal box with a DIV that I want to scale 50% w/h from the bigger image.
I would like to know if the following method for scaling is valid and cross-browser for an image of 800x530px:
#foo-img { width: 100%; height: 100%; }
#foo-div {
width: 400px; height: 265px;
padding...
I'd like to cancel a .load() operation, when the load() does not return in 5 seconds. If it's so I show an error message like 'sorry, no picture loaded'.
What I have is...
...the timeout handling:
jQuery.fn.idle = function(time, postFunction){
var i = $(this);
i.queue(function(){
setTimeout(function(){
...
Hello,
I'm developping an application in java that regulary saves objects onto the hard disk using this simple method:
public void save(String filename)
{
try
{
FileOutputStream fos = new FileOutputStream(filename);
GZIPOutputStream gzos = new GZIPOutputStream(fos);
ObjectOutputStream out = new ObjectOut...
It's easy to load functions from dynamic libraries when you know this function in design time.
just do something like this:
int (*fn)(int);
l0 = dlopen("./libfoo.so", RTLD_LAZY);
if (!l0)
{
fprintf(stderr, "l0 %s\n", dlerror());
return 1;
}
fn = (int (*)(int))dlsym(l0, "foo");
if ((error = dlerror(...
I have many div in my aspx page. how to update the content of a particular div?
It should update every one minute time interval..
with out reloading entire page..
...
I am using jQuery's load() function when getting a page to a div like that:
content.php page is :
<script type="text/javascript">
$(".content").load("asd.php");
</script>
and asd.php is:
<script type="text/javascript">
alert("Hello World");
</script>
When load ajax finished alert() message appears 3 times. Actually it must...
Hey
My Question is: Why don't use more webpages AJAX to load the Webpage content?
Because of the fact that you can switch off JS or is there a thought about some security problem ?
...
I rather enjoy adding practical eye-candy to the networking community I've been developing but as things start to stack up I worry about load times.
Is it truly faster to have users
load (a hopefully cached) copy of
jquery from Google's repositories?
Does using jQuery for AJAX calls
improve/reduce efficiency over basic
javascript xmlHT...
As a web developer, a common problem I find myself tackling is waiting for something to load before doing something else. In particular, I often hide (using either display: none; or visibility: hidden; depending on the situation) elements while waiting for a background image or a CSS file to load.
Consider this example from Last.FM. The...
Hi
I'm new to java.
I'm trying to use some dynamically loaded classes in my application.
The application doesn't know classes , Just it try to load a class by name that its name came from input.
It doesn't know class (So I can't use casting) but just needs to call some methods of that class (every class should have that methods).
I thoug...
I have a database with some images. Could anyone explain me how I could load an image in a JSF page?
I already have a managed bean that converts an Image object into a streamcontent. This streamcontent is called from the page in a tag <h:graphicImage>, but when I check the source code of the page, there's no src where the image could be...
Hi all! I have next task: I need to load the same file into my web app several times, for example - twice a day! Suppose in that file I have information, that changes, and I need to load this info into my app to change the statistics for example.
How can I load file several times (twice an hour, or twice a day)?
What should I use? Is an...