I am relatively new to Javascript & jQuery, so I have created a page (www.jamesmehaffey.com/jqtest.php) where I can play around with different plug-ins & functions, etc. just to get my head around...
Quick follow up to my problem with the slow ping routine: the Ajax method seems to work extremely well. I was worried that the routine would be interrupted by user activity or that it might be fired...
This may not be very helpful for actually solving your problem, but I know my router automatically changes its ip at least twice a day for some reason... I was trying to filter out my ip from my own...
Thanks to both of you. Yeah, I thought there would be no easy answer this this one, as I am basically trying to communicate with a lot of other servers in a short time. When I narrow my list to...
Thanks to everyone for the input. I have a managed to solve the problem by creating a function that feeds the user's location to an outside api which in turn sends back the user's local time. I would...
I suppose what I was asking - I'm sorry, I just thought I was clear there - is how to get my users' posts to read "Saturday, 06 August 2011 11:53:17 EDT" if they are in New York or whatever instead...
I recently switched over to a new server, presumably in a completely different time zone from the last, and I am getting new users in different parts of the world now - both of which are leading me...
In the case of my page, what I am doing is validating a user's form input as they fill each field and displaying a message indicating success or a specific error message. What I wanted to make sure...
Thanks to both of you, but I'm going to throw in the towel for now and just go with the stupidly long setTimeout intervals, otherwise I could spend the rest of the weekend or longer trying to fix...
thanks aj_nsc, but my problem with that approach is that onreadystatechange is built into that function already - where i get back my xml response. i could see that working if i wasn't using the same...
I have a written a couple of ajax functions that run when a page is loaded to pre-fill certain form elements and text, however I have run into a problem with them in terms of the way they...
Hi all, another dumb question from a newbie - I am trying to pass an argument to a function to process server responses. My original line of code looked like this: "http.onreadystatechange =...
i think i've got it now - when i was trying to insert the variable, it was looking like this: "var testdata = document.forms[form].[input].value;". what i discovered (by accident while looking at...
I'm sort of new to JS, but I have just managed to get a few simple AJAX applications working. Now that I have the basic down, I want to write a generic function since I'm basically doing the same...
Thanks for that NogDog, but that was just a typo on my part - the url does actually include the "www". Anyway, since I posted this earlier, I have come across another session variable that gets...
I have come across what has got to be the most bizarre php behaviour after adding a piece of Javascript to my site. The fact that it was a new bit of Javascript is completely arbitray and does not...
The widths are all set to 100%, Big O(1), so everything should stretch out to fill the page. When I gave the parent divs (there are about 4-5 containers for subsequent content) widths above 100% they...
I have solved to problem, though I am not entirely happy with the method. So if anyone has any experience with styling for the iPhone (and any other tiny screens), I would love to hear from you.
...
I am tweaking my site's css for the iPhone, and I have run into an annoying problem related to vertical scrolling. Basically, when the page has enough content to trigger scrolling, a gap appears on...
Yes, bin2hex is the correct method for converting a string back into the blob format... there were some stray characters in my string, and also the "0x" has to be added at the beginning. It would...
I have just come across the bin2hex function which does seem to do exactly what I need in terms of converting the string data back into the blob format, however the results vary ever-so-slightly for...
Thanks NogDog. I have tried base64_encode($output), but the output is different from the blob as it appears in the db. In short, what I need is to output the data exactly as it appears in the db - so...