Type: Posts; User: the_cat
Search took 0.01 seconds.
September 29th, 2014, 05:35 AM
Okay, then you need to find the location of the start of the query string (so the question mark) and strip out everything else to the right and replace it with the new query string as it's not...
September 29th, 2014, 04:48 AM
I've never used this but geolocation is a function of HTML5 so a good starting point, as always, is W3Schools: http://www.w3schools.com/html/html5_geolocation.asp
And a web search produced a little...
September 22nd, 2014, 05:29 AM
If you work through what your code is doing, it does make sense. Say the first time the URI is
http://foo/search?q=bar you're then replacing the "?q=" with the "?q=+test1+test2+test3" so it now...
September 15th, 2014, 02:43 AM
I strongly suggest making a new post, however, in the interests of getting to the answer quickly, within the body section you'll want a button, give it an ID, for example "btnReboot", so your code in...
March 24th, 2014, 08:31 AM
Having a quick play with this, assuming you're reading the first line from your .DAT file, this script section should work:
<script type="text/jscript" language="jscript">
var filename =...
March 24th, 2014, 07:54 AM
Alerts are disabled in Gadgets: http://msdn.microsoft.com/en-us/magazine/cc163370.aspx#S10
Mind you, Gadgets have been discontinued ( http://windows.microsoft.com/en-gb/windows/gadgets ) so you...
January 13th, 2014, 03:07 AM
You have a typo - it should be "responseText" not "responsetext", plus you need to test that there is a response and it's "OK" before you try doing anything with it:
January 6th, 2014, 07:51 AM
You're welcome - glad it worked!
January 6th, 2014, 07:18 AM
I can't help with the first part of your query I'm afraid. If you Google the problem there is mention of starting Chrome from the command line with security disabled:...
January 6th, 2014, 06:59 AM
Try it - it should work! Assuming that the webserver supports the Access-Control-Allow-Origin header which it probably does (or can be made to).
January 6th, 2014, 05:56 AM
Run it from a web server. It appears to be a Chrome bug to do with CORS (cross origin sharing) : http://code.google.com/p/chromium/issues/detail?id=67743
If you're running it from localhost then the...
January 6th, 2014, 05:20 AM
You shouldn't have the hash in front of "header.html".
The other thing to note (see the documentation: http://api.jquery.com/load/ ) is the same origin policy: "Due to browser security...
January 6th, 2014, 04:59 AM
I have tested it with the latest version of Chrome on Windows 7 and it seems to be working fine. Maybe the problem lies elsewhere?
Here's the full listing of my test file and it duly pops up an...
January 6th, 2014, 04:21 AM
You mention jQuery in the title - why not put your code inside the jQuery document ready function?
// your code goes here
December 2nd, 2013, 03:30 AM
There's no harm in breaking the problem into simple lines of code, not least so it makes it easier for someone else to manage.
var minimum = 35,
output = 0,
input = prompt("How many...
November 6th, 2013, 07:22 AM
Then your sort function will need to handle that. I've rewritten it to make it more readable:
if ( a.text === b.text ) return 0;
if ( (a.text.replace(/,/g,""))*1 <...
November 6th, 2013, 03:41 AM
Your sort function is purely for text. If you want to sort numerically then the function should read:
If you have a combination of select controls on the page though you might want...
September 23rd, 2013, 07:23 AM
If you just want to grab the Ajax content and use it in place of the current body, then use the shorthand Ajax method:
June 12th, 2013, 11:24 AM
Many thanks for your help with this. Your advice was exactly right. I now have a parent div for just the images and then each image is absolutely placed within that.
June 11th, 2013, 11:47 AM
I'm looking for some help with image positioning because I don't think this is the right way to do it.
I have a parent DIV, absolutely positioned, that is later moved by jQuery to another part of...
jQuery natively, and through various plug-ins, supports XML and makes it easy to access and analyse.
I'm assuming that column A contains the names of the computers you want to query, and that the first computer listed is on (int)row 3. I am also assuming that you want to determine the o/s of each...
April 2nd, 2013, 03:53 AM
I'm afraid I know nothing about "yoplet" but if you want to use tablesorter - or virtually any other jQuery table based plug in - you're going to need to convert the Excel data into HTML table based...
January 21st, 2013, 04:12 AM
I couldn't resolve this so I've redone it as a TEXTAREA instead.
January 16th, 2013, 05:23 AM
CSS isn't my strong suit but I really can't get this to work and would appreciate some help.
I am trying to get the text entered into a large <INPUT> text control to be at the top left corner, which...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.