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

Search:

Type: Posts; User: the_cat

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. JavaScript Re: JS web function not working on client side - PHP-JS-HTML

    Not sure why it works differently but you shouldn't be using the "click" method of jQuery, you should be using "on" and set it to click. You're also looking for "item-row" by class - the dot...
  2. Replies
    1
    Views
    29,782

    Re: Input Only Numbers with HTML

    You've got the HTML <input> tag type of "number" which is the easiest.
    https://www.w3schools.com/html/html_form_input_types.asp
    If you're using jQuery you can add to jQuery a plug-in which handles...
  3. Replies
    19
    Views
    35,318

    JavaScript Re: Login Form using javascript

    Apart from the line:
    var suffix="-remoteally.viewnetcam.com:40040"; in the getURL() function missing a semi-colon at the end, I can't see any syntactic error in what you've done. I'm not familiar...
  4. Replies
    19
    Views
    35,318

    JavaScript Re: Login Form using javascript

    Would you please post your code as that image is too low a resolution to read. I suspect you have simply not closed code brackets and / or braces but I can't really see.
    When posting please put...
  5. Replies
    19
    Views
    35,318

    JavaScript Re: Login Form using javascript

    Yes it's an error, because you've not closed the code block.
    35503
  6. Replies
    19
    Views
    35,318

    JavaScript Re: Login Form using javascript

    The "full code", as you so quaintly put it, is in comment #4: http://forums.codeguru.com/showthread.php?562927-Login-Form-using-javascript&p=2228643#post2228643
  7. Replies
    19
    Views
    35,318

    JavaScript Re: Login Form using javascript

    You're calling "require" and then attaching the event handlers:


    require(["jquery", "utility"], function ($, MO) {
    $("#username").on("focus", function () {...
  8. Replies
    19
    Views
    35,318

    JavaScript Re: Login Form using javascript

    I think it's require which is causing the problem. Try using the Developer tools within your browser (CTRL + SHIFT + I) and go to Console and type in:
    ...
  9. Replies
    19
    Views
    35,318

    JavaScript Re: Login Form using javascript

    Try moving your <script> block after your HTML elements so the page has already loaded before you assign your script events. Secondly don't use jQuery .bind as it has been deprecated...
  10. Replies
    2
    Views
    4,923

    Re: VB script to pull malicious ip

    There does appear to be several websites that have this data, but most of them charge for getting an XML stream, and sites like Google's https://developers.google.com/safe-browsing/v4/ recommend if...
  11. Replies
    6
    Views
    13,931

    xHTML Re: VBS file not able to open Internet Explorer

    Your code is fine. It sounds like either something is blocking access to launch IE or IE itself has been removed. Can you open IE manually? Check your AV software to see if it's reporting any...
  12. Replies
    1
    Views
    796

    JavaScript Re: javascript and Computer date

    It depends on the focus of your question. If you want Javascript within the browser to update the date and time of the system accessing it (which could be a PC, tablet, phone etc) then you have no...
  13. Replies
    8
    Views
    14,936

    xHTML Re: Social Media Link Creation...

    It sounds like the issue is with Facebook then, and indeed with any other problem links. Is this advice on the Facebook site any help?...
  14. Replies
    8
    Views
    14,936

    xHTML Re: Social Media Link Creation...

    What you need is a share link generator....
    http://www.sharelinkgenerator.com/
  15. Replies
    8
    Views
    14,936

    xHTML Re: Social Media Link Creation...

    Isn't the link for Twitter just:
    https://twitter.com/hashtag/Donkeykong

    According to other people's advice: https://techwalla.com/content/put-facebook Facebook can generate the code you need,...
  16. Replies
    1
    Views
    1,132

    ASP Re: Please Help in ASP

    There's an example for handling form POST in ASP here:

    http://www.w3schools.com/asp/showasp.asp?filename=demo_simpleform
  17. Replies
    11
    Views
    10,000

    VBScript Re: Restart Modem script help

    Then remove them...

    objAdapter.EnableStatic IPAddress,Subnet
  18. Replies
    11
    Views
    10,000

    VBScript Re: Restart Modem script help

    It's worth reading up on how sub-routines and procedures work: http://www.w3schools.com/vbscript/vbscript_procedures.asp
    Not least because almost all programming languages have something similar....
  19. Replies
    11
    Views
    10,000

    VBScript Re: Restart Modem script help

    Your requirement is to check to see if the PC is on DHCP, and if NOT then it sets a static IP, connects to the modem, then sets itself back to DHCP, correct?
    So put your code into a sub-routine and...
  20. Replies
    11
    Views
    10,000

    VBScript Re: Restart Modem script help

    Yes, the index is 7. In fact in all my example scripts I used 7 so you can just use them verbatim.
    Note that it doesn't have 2 IP addresses - but it COULD have!
  21. Replies
    11
    Views
    10,000

    VBScript Re: Restart Modem script help

    Your PC probably has multiple IP addresses, so you need to find the index of the adaptor that you're really interested in. You can do this by opening a command prompt and typing:
    WMIC PATH...
  22. Thread: I need a tutor

    by the_cat
    Replies
    1
    Views
    3,684

    xHTML Re: I need a tutor

    Have you looked online for teaching resources? This site: http://www.w3schools.com/ is, in my view, absolutely brilliant for starting off, and is free.
    That will teach you HTML which is the basic...
  23. Replies
    1
    Views
    1,701

    VBScript Re: Looping SendKeys with a variable Max

    I don't know about the SendKeys part, but there are a couple of typos in the script. This line should be:


    SQL_STD_ORDERS = "SELECT TKT_NO FROM [DEMOLAWN].[dbo].[VI_PS_DOC_HDR] where TKT_NO = '"...
  24. 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...
  25. 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...
Results 1 to 25 of 114
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured