dcsimg
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.37 seconds.

  1. Replies
    1
    Views
    395

    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...
  2. Replies
    17
    Views
    1,382

    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...
  3. Replies
    17
    Views
    1,382

    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...
  4. Replies
    17
    Views
    1,382

    JavaScript Re: Login Form using javascript

    Yes it's an error, because you've not closed the code block.
    35503
  5. Replies
    17
    Views
    1,382

    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
  6. Replies
    17
    Views
    1,382

    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 () {...
  7. Replies
    17
    Views
    1,382

    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:
    ...
  8. Replies
    17
    Views
    1,382

    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...
  9. Replies
    2
    Views
    693

    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...
  10. Replies
    6
    Views
    1,967

    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...
  11. Replies
    1
    Views
    687

    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...
  12. Replies
    8
    Views
    2,017

    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?...
  13. Replies
    8
    Views
    2,017

    xHTML Re: Social Media Link Creation...

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

    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,...
  15. Replies
    1
    Views
    993

    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
  16. Replies
    11
    Views
    7,473

    VBScript Re: Restart Modem script help

    Then remove them...

    objAdapter.EnableStatic IPAddress,Subnet
  17. Replies
    11
    Views
    7,473

    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....
  18. Replies
    11
    Views
    7,473

    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...
  19. Replies
    11
    Views
    7,473

    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!
  20. Replies
    11
    Views
    7,473

    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...
  21. Thread: I need a tutor

    by the_cat
    Replies
    1
    Views
    1,244

    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...
  22. Replies
    1
    Views
    1,153

    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 = '"...
  23. 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...
  24. 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...
  25. 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...
Results 1 to 25 of 113
Page 1 of 5 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)