load

Load a page in the same window via javascript

How do you load a page in the same window via javascript? ...

onselect in one combo it changes data dynamically in other combo?

Hello sir I am new to the jsp and ajax world. my problem is If i select one combo option then it should change the other combo options dynamically without submit button press. for example if i select the country then it should shows their states in other combo. I am using servlet & JSP and MS-ACCESS as backend. please reply as soon ...

Document not ready for insert after method using a loop with jquery

Is there a way to use a loop to insert separate DIV elements behind each other? Right now I use a loop to do just that, but it doesn't remember the DIV inserted before with the load method. The result is that I only see the last one. The code is meant to show all messages, after it reads the cookie with the db-id when you first arrive ...

Elastic Load Balancing in EC2

Hi Its been on the cards for a while, but now that Amazon have released Elastic Load balancing what are your thoughts on deploying this solution for a high-traffic web app. Should we replace HAProxy or consider ELB as a complimentary service in front of HAProxy Appreciate any comments or suggestions Thanks Dom ...

SQL: Calculating system load statistics

I have a table like this that stores messages coming through a system: Message ------- ID (bigint) CreateDate (datetime) Data (varchar(255)) I've been asked to calculate the messages saved per second at peak load. The only data I really have to work with is the CreateDate. The load on the system is not constant, there are times when...

DB (SQL) automated stress/load tools?

I want to measure the performance and scalability of my DB application. I am looking for a tool that would allow me to run many SQL statements against my DB, taking the DB and script (SQL) file as arguments (+necessary details, e.g. host name, port, login...). Ideally it should let me control parameters such as number of simulated clien...

jQuery .load() call doesn't execute javascript in loaded html file

This seems to be a problem related to Safari only. I've tried 4 on mac and 3 on windows and am still having no luck. What I'm trying to do is load an external html file and have the Javascript that is embedded execute. The code I'm trying to use is this: $("#myBtn").click(function() { $("#myDiv").load("trackingCode.html"); }); ...

iPhone : Texture bigger than 64x64?

Hi, I took the example of GLPaint... I'm trying to put a background into the "PaintingView", so you could draw over the background and finally save the image as a file..... I'm lost. I'm loading the PNG (512x512) and try to "paint with it" at the very beginning of the program, but it's painted as 64x64 instead of 512x512... I tried be...

Load external font and use it in C#

Hi, I'd like to load a font from an external server and once is loaded (I guess that's necessary) use it to create a few textfields. I'm trying: font_uri = new Uri("http://localhost/assets/fonts/wingding.ttf"); bf_helvetica = new FontFamily(font_uri, "bf_helvetica"); TextBlock test_tb = new TextBlock(); test_tb.Text = "This is a test...

Is it possible to load a specific div from a variable?

Does anyone know if it's possible to load a specific div from a variable like $item = '#help_mobiel_prive'; $('#infopopup_content').load('help.html'+ $item, function() { only that one doesn't work ...

Entity Framework Load Error

I have this query this.FixturePartidoPuntaje.Load(); var partidos = from q in this.FixturePartidoPuntaje where ( q.FixturePartido.Equipo.EquipoId.Equals(equipoId) || q.FixturePartido.Equipo1.EquipoId.Equals(equipoId)) && q.puntaje > 0 select q; The most i...

jQuery Ajax load function +returning a value other than the HTML

Dear All, I am using the following jQuery code to fill my DIV in the ASPX page var div = $("#divPrice"); div.fadeOut('slow',function(){ div.load("../Lib/handlers/GetPrice.aspx?answers="+queryValues+"&item="+modelId,{ symbol: $("#txtSymbol" ).val() },function() { $(this).fadeIn('slow'); ...

How do I load an image using SDL and Xcode on OS X 10.5?

Edit: After using a bmp at toastie's suggestion, I'm still having problems loading the image: I'm using SDL and OpenGL with Xcode and I'm trying to load an image to use as a texture on a cube. The image is a 256x256 RBG jpeg. The image is in the same directory as all of my source code, and it's under the Resources folder in the Xcode pr...

C# Splash Loading Page

Im about to start working on a big application (big for me anyway :P) and i was wondering, how do i create a splash page for the program that shows up as soon as the exe is launched and disappears when all of the exe is loaded? ...

problem with loading a jar file which has dependency to another jar file

I have a problem while loading my jar file at run time. My hotel.jar is loaded and a method of it (makeReservation) is invoked using the following code: File file = new File("c:/ComponentFiles/hotel.jar"); URL jarfile = new URL("jar", "", "file:" + file.getAbsolutePath() + "!/"); URLClassLoader cl = URLClassLoader.newInstance(new URL[]{...

Determining “System Load”

Does anyone know an elegant way to determine “System Load” preferably using Windows performance counters? In this case I mean “System Load” in the classical (UNIX) sense of the term and not in the commonly confused “CPU Utilization” percentage. Based on my reading … “System Load” is typically represented as a float, defining the numb...

Problem with loading xml data into ndbunit

Hi, I am having problem loading the testdata.xml into ndbunit, I followed http://code.google.com/p/ndbunit/wiki/QuickStartGuide, but the test data is not loaded when I run my unit test in NUnit. Is there any gotcha that I am not aware of ? ...

C# Dynamic dll system problem

Hi, I have an application that loads dlls dynamically. The application and the dlls use a Functions.dll that can be a diferent version for the application an for each dll, but in execution the application and the dlls all use the same dll version (the one used by the EXE) and share the static variables... How can i force them to use ...

Partially load large text file with different encodings

I am writing a Java text component, and is trying to partially load some large text file in the middle (for speed reasons). My question is if the text is in some multi-bytes encoding format, like UTF8, Big5, GBK, etc. How can I align the bytes so that I can correctly decode the text? ...

Selecting style tag of remote page?

I'm trying to load the inline style content of a remote xhtml page. I used load previously, but that doesn't work because it loads the css inside the body tag. Therefore, I'm trying to append the style to the head tag of my page. The problem is that I cannot select the style tag using jQuery. Here's my code: jQuery.get(cont...