www.webdeveloper.com

Search:

Type: Posts; User: JCK

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,751

    Had too many parenthesis. Should have been ...

    Had too many parenthesis. Should have been



    if(preg_match("/test(.*)>(?!apple)/i",$string)){
    echo 'true since apple does not follow > in string';
    }else{
    echo 'false since apple follows > in...
  2. Replies
    1
    Views
    1,751

    [RESOLVED] Regular expression help

    Using php I would like to detect something in a string depending on whether the part immediately after the matched part does not contain certain characters. I think I may need to use a lookahead...
  3. Thanks Vic, works perfect.

    Thanks Vic, works perfect.
  4. [RESOLVED] How to check if div exists using eval in getElementById

    On change of a form's select drop down menu I want to trigger a function that:

    1) First makes sure that all divs on the page that exist having IDs that match any of the options in the select form...
  5. Replies
    8
    Views
    2,171

    My bad, I meant if the last character of the form...

    My bad, I meant if the last character of the form fields value is a comma not the last comma in the form field. The 1st and 3rd solutions work fine for that condition. Thanks again.
  6. Replies
    8
    Views
    2,171

    Thanks everyone! :)

    Thanks everyone! :)
  7. Replies
    8
    Views
    2,171

    How to remove last comma from form field?

    Anyone know how to get this working. I am trying to remove the last comma from a form field if it exists.


    function removeLastComma(str){
    var temp = "";
    if(str.endsWith(",")){
    temp =...
  8. Replies
    5
    Views
    2,771

    It does indeed work! The text and values are...

    It does indeed work! The text and values are identical in the two drop downs so I removed the two lines as you mentioned. Thank you so much!
  9. Replies
    5
    Views
    2,771

    What I was trying to do is make it easier to fill...

    What I was trying to do is make it easier to fill in a long form that has sections that are identical. For example the registrant, technical and billing contact info for a domain name. So I wanted...
  10. Replies
    5
    Views
    2,771

    How to copy one drop down value to another?

    Hi, I have two select boxes and want to copy the value from one to the other. I need to pass the two select box field names to a function. I have tried the following:

    function setSelect(name1,...
Results 1 to 10 of 10
HTML5 Development Center



Recent Articles