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

Search:

Type: Posts; User: Dr. Script

Page 1 of 32 1 2 3 4

Search: Search took 0.50 seconds.

  1. Replies
    2
    Views
    1,448

    Re: Javascript validation codes

    3 changes:


    function validateform(df) {
    var start = "1" // element number of first <input> to test
    var end = "8" // element number of last <input> to test

    for (i=start; i<end; i++) {...
  2. Replies
    6
    Views
    1,742

    Re: Cookie Issue

    TheCounter would suggest that number is actually between 44% and 48%. Just throwing that out.
  3. Replies
    4
    Views
    1,367

    Re: Reload page in javascript

    Using PeejAvery's approach, setting the cookie in the onunload event with an expiration of, say 5 seconds would allow detecting the cookie onload. If the cookie is found, throw the alert message.
    ...
  4. Replies
    3
    Views
    917

    Re: Newbie with radio button problem

    Gem_man, you could be a bit more clever about how you do this which may help if perhaps you need to add or remove more radio buttons:


    <script type="text/javascript">

    var OrderType = 0;

    ...
  5. Re: How do I turn this form button info into just a link

    If you want it to be just a link, simply remove the hidden element, and voila. You'll have to change {$baseurl} to reflect the actual URL you want though, or have that done on the server if you know...
  6. Thread: Javascript

    by Dr. Script
    Replies
    1
    Views
    962

    Re: Javascript

    <input type="text" readonly="readonly" ondblclick="this.removeAttribute('readOnly'); this.focus()" onblur="setAttribute('readOnly',true)">
  7. Re: disable checkboxes by using getElementByName

    Can this thread just be merged into your other one? It would take less resources that way.

    document.getElementByName() doesn't exist. It is document.getElementsByName(), and it returns an...
  8. Replies
    1
    Views
    1,102

    Re: Calendar Hiding behind combo box

    To have the forums serve as an archive of solutions, we'd prefer you to post the solutions instead of removing your question.
  9. Re: Anyone use Invision Boards? (Moderator Options)

    Perhaps you don't have a full version because the Admin CP is very friendly in every free version I've ever used.
  10. Re: Anyone use Invision Boards? (Moderator Options)

    For the Invision Board I am familiar with, under Forum Control in the Admin CP, there is a Moderation page that allows you to add groups or single members as moderators to each individual forum. The...
  11. Replies
    4
    Views
    2,835

    Re: JavaScript Addition

    isNaN ... hmmm, I should've used that. Never crossed my mind. Will that include decimal points though, or would you have to compound conditions to either !isNaN or == "." ?
  12. Re: Default radio option on linked site

    The only way I could see it if you made your own form that is identical to theirs on your site, and have your form's action point to the same as the form on the other site. The only difference would...
  13. Re: Default radio option on linked site

    Do you have access to both sites? If so, you could just throw something in the url string, such as ?checked=best. Then either you dedide on server side where to put checked with several decision...
  14. Replies
    4
    Views
    2,835

    Re: JavaScript Addition

    If you know there is going to be a dollar sign out front, you could use substr() to simply cut out the first character. If you aren't sure, and only wanted to parse the numbers and decimals points,...
  15. Replies
    2
    Views
    1,267

    Re: JavaScript dynamic overlay.

    I can tell you that convention is type="text/javascript" as I believe the language tag is deprecated. As for the problem, I can't explain that. Is this running before page load? That could explain...
  16. Replies
    6
    Views
    987

    Re: Anyone know how to do this?

    PeejAvery actually said that a subdomain, froogle.google.com, points to files located in the froogle subdirectory.
  17. Replies
    3
    Views
    1,204

    Re: str_replace with \

    As far as I am aware, you search for a \ by escaping it: "\\"
  18. Replies
    5
    Views
    13,236

    Re: How to get machine SID

    I'll wait for a response before I make the move official
  19. Replies
    7
    Views
    1,253

    Re: Word Counting Function

    /\s+/g is a regular expression. \s refers to a whitespace characters, and the + with match any combination of at least 1 consecutive whitespace (i.e. two spaces after a period). The g at the end...
  20. Re: Getting selected values in multi select comobo box through PHP

    I wouldn't know off hand? But couldn't you just create a simple script and see what the output is ... ?
  21. Re: Index returned by Win32_NetworkAdapterConfiguration WMI class returns wrong num

    That is C / C++ forum. I'm not sure if it belongs there
  22. Replies
    8
    Views
    5,531

    Re: Unterminated string constant

    You aren't going to get anyone to look at some 1000 lines of code to find a single error. You need to point out th error and then we'll be happy to help. I gave you instructions on that, and you...
  23. Replies
    8
    Views
    5,531

    Re: Unterminated string constant

    When I said "ish" I wanted to see the surrounding code. What you posted seems to be part of a JavaScript, so you'll at least need to post the entire statement containing these lines.

    There are...
  24. Replies
    8
    Views
    5,531

    Re: Unterminated string constant

    View the source of your code in IE, and post the section of code lines 634-638ish so we can see where the problem is. Notepad has a status bar that tells you what line you are on, which you can turn...
  25. Replies
    1
    Views
    833

    Re: Creating A Search Engine

    No chance. One, you would need to have a massive indexing of the web. Unless the search engine would apply to your site only, it is virtually impossible.

    For your site only, you'd at least need...
Results 1 to 25 of 798
Page 1 of 32 1 2 3 4





Click Here to Expand Forum to Full Width

Featured