Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: the_cat

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. JavaScript Re: Javascript/Jscript.NET :How do I replace a string to a search query only once?

    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...
  2. PHP Re: Need help or suggestion in making a website app

    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...
  3. JavaScript Re: Javascript/Jscript.NET :How do I replace a string to a search query only once?

    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...
  4. Replies
    2
    Views
    209

    Re: get values from a multi row select list box

    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...
  5. JavaScript Re: Windows 7 Gadget Programming with Javascript or JScript?

    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 =...
  6. JavaScript Re: Windows 7 Gadget Programming with Javascript or JScript?

    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...
  7. Replies
    2
    Views
    7,487

    Re: XMLHttpRequest on Safari

    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:

    ...
  8. Replies
    14
    Views
    3,913

    Re: Chrome - jquery headache

    You're welcome - glad it worked!
  9. Replies
    14
    Views
    3,913

    Re: Chrome - jquery headache

    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:...
  10. Replies
    14
    Views
    3,913

    Re: Chrome - jquery headache

    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).
  11. Replies
    14
    Views
    3,913

    Re: Chrome - jquery headache

    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...
  12. Replies
    14
    Views
    3,913

    Re: Chrome - jquery headache

    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...
  13. Replies
    14
    Views
    3,913

    Re: Chrome - jquery headache

    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...
  14. Replies
    14
    Views
    3,913

    Re: Chrome - jquery headache

    You mention jQuery in the title - why not put your code inside the jQuery document ready function?


    $(function(){
    // your code goes here
    });
  15. Replies
    4
    Views
    1,018

    JavaScript Re: Online quote scipt

    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...
  16. Replies
    3
    Views
    1,283

    JavaScript Re: Sort Select list in numerical order

    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;
    else {
    if ( (a.text.replace(/,/g,""))*1 <...
  17. Replies
    3
    Views
    1,283

    JavaScript Re: Sort Select list in numerical order

    Your sort function is purely for text. If you want to sort numerically then the function should read:

    return a-b;
    If you have a combination of select controls on the page though you might want...
  18. Replies
    1
    Views
    58,371

    Re: Capturing AJAX on the Web Client

    If you just want to grab the Ajax content and use it in place of the current body, then use the shorthand Ajax method:


    $('body').load('redirected.html');

    http://api.jquery.com/load/
  19. CSS Re: Positioning of images one on top of another

    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.
  20. CSS [RESOLVED] Positioning of images one on top of another

    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...
  21. Re: XML to Javascript - Conversion of response.

    Check out this article on parsing XML in JavaScript. http://www.w3schools.com/xml/xml_parser.asp
    jQuery natively, and through various plug-ins, supports XML and makes it easy to access and analyse.
  22. Replies
    1
    Views
    1,469

    VBScript Re: Xcel Sheet Insert

    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...
  23. Replies
    3
    Views
    812

    JavaScript Re: java/jquery with excel help

    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...
  24. CSS Re: Aligning text to the top of an input control

    I couldn't resolve this so I've redone it as a TEXTAREA instead.
  25. CSS [RESOLVED] Aligning text to the top of an input control

    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...
Results 1 to 25 of 91
Page 1 of 4 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center