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: 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 =...
  2. 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...
  3. Replies
    2
    Views
    2,805

    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:

    ...
  4. Replies
    14
    Views
    697

    Re: Chrome - jquery headache

    You're welcome - glad it worked!
  5. Replies
    14
    Views
    697

    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:...
  6. Replies
    14
    Views
    697

    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).
  7. Replies
    14
    Views
    697

    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...
  8. Replies
    14
    Views
    697

    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...
  9. Replies
    14
    Views
    697

    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...
  10. Replies
    14
    Views
    697

    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
    });
  11. Replies
    4
    Views
    678

    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...
  12. Replies
    3
    Views
    668

    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 <...
  13. Replies
    3
    Views
    668

    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...
  14. Replies
    1
    Views
    1,688

    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/
  15. 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.
  16. 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...
  17. 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.
  18. Replies
    1
    Views
    739

    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...
  19. Replies
    3
    Views
    605

    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...
  20. 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.
  21. 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...
  22. Replies
    2
    Views
    682

    JavaScript Re: New to programming - Need help

    I think you might need to repost this request to a different forum. What you're asking for is a server-side application, not a client-side script. You've also not specified some fundamentals like...
  23. Replies
    1
    Views
    485

    CSS Re: Selector problem

    I think the problem is the CSS definition as it's not quite right. What you've entered is:
    .division a { color: red; }
    .links a {color: blue;}
    Which is creating a class called division with a...
  24. VBScript Re: Can not connect to SQL Server using WMI Services to Remote Computer

    I don't think it can be a problem with the script you posted as it's an old Scripting Guys script which has been tested and used countless times. The obvious test is to RDP into that server and run...
  25. Replies
    1
    Views
    1,316

    Re: HTML & Ajax not working as expected

    You have a bug in the line:


    progExe("logon.php?"uname="+uname+"&Passwrd="+passwrd);

    It should probably be something like:


    progExe("logon.php?uname="+uname+"&Passwrd="+passwrd);
Results 1 to 25 of 87
Page 1 of 4 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center