www.webdeveloper.com

Search:

Type: Posts; User: massalexx

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    1,347

    Assign Javascript to innerHTML

    Hi

    Part 1: Problem: This line does not print the image link.
    Part 2: This line does print the image link.

    Both parts generate the same source code, although the first one does not print the...
  2. Replies
    1
    Views
    947

    document.write stops the browser

    Hi
    What is the problem in this script:

    <html>
    <head>
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    var destination="textDestination";
    var index=0;
    function showText(){
  3. Replies
    9
    Views
    3,776

    Now it works perfectly. Thanks alot for your fast...

    Now it works perfectly. Thanks alot for your fast reply :-)
  4. Replies
    9
    Views
    3,776

    Thank you Ultimater. This seems to be an...

    Thank you Ultimater. This seems to be an excellent solution. I wonder why I get the same combination for all the elements. Is there something I should do with array "a" that adds ' and " to the word....
  5. Replies
    9
    Views
    3,776

    your solution will only give one combination. I...

    your solution will only give one combination. I think the right solution will give some 100 different combinations. The problem is that the letters shouldn't be change all at once (so the option "g"...
  6. Replies
    9
    Views
    3,776

    I just want to write out the list of all those...

    I just want to write out the list of all those strings as I listed those 5 strings as example.
    I will very gratefull if you can give me the answer in regexp, cause i am not so good in regexp.
    ...
  7. Replies
    9
    Views
    3,776

    recursive combinations of string

    I have a string "ajrdvbfomfkswkmbncrfu" where the 3 letters b,k and f can be in three forms: b,b',b" and k,k',k" and f,f',f".

    I want to find ALL the possible string combinations.
    Is there a...
  8. Replies
    3
    Views
    2,181

    does someone know how to modify this to a...

    does someone know how to modify this to a full-solution? (so it ALWAYS remove both elements).(i need it because i generate these both div dynamically with a button inside document and i need to...
  9. Replies
    3
    Views
    2,181

    I found a half-solution that removes both...

    I found a half-solution that removes both elements first time but removes only second element afterward. I put a form-tag around both div and remove all childs of this form.

    <script...
  10. Replies
    3
    Views
    2,181

    Is there a way to remove a thread in this site? I...

    Is there a way to remove a thread in this site? I can't find the remove button.
  11. Replies
    3
    Views
    2,181

    removeChild Node

    I created 2 div-element dynamically with javaScript. How do I remove both div-elements with a button inside the second one?

    This onClick event removes only the second div:

    var div1= '<div...
  12. Replies
    4
    Views
    1,255

    thank you. seem to work now.

    thank you. seem to work now.
  13. The expression is a mix of lookabehind and...

    The expression is a mix of lookabehind and lookahead (?<= is positiv lookabehind and ?= is positive lookahead) and the answer is no. JavaScript does not support positiv/negative lookabehind.

    I...
  14. Replies
    1
    Views
    971

    it's like invert selection i photoShop. hope to...

    it's like invert selection i photoShop. hope to have an answer. thx
  15. Replies
    1
    Views
    971

    invers matching in RegExp

    How can I inverse matching?
    I got <.*?\w+.*?> that matches all words inside angle brackets. Now I just want to inverse that matching so that all words outside angle brackets will be matched.
    Thx.
  16. Replies
    4
    Views
    1,255

    it doesn't work. your pattern will match all e or...

    it doesn't work. your pattern will match all e or a that is preceded with any character excluding sapce,' or ". http://gskinner.com/RegExr/
    I want to match the first character of every word if it...
  17. Replies
    4
    Views
    1,255

    regexp simple question

    A simple question:

    This pattern [^'|\"]\b(e|a) matches e or a that are not preceded by ' or " but it also matches the space before e or a. Why?
    How can I exclude that space?

    Thx.
  18. Good point. But is ActionScript as powerfull as...

    Good point. But is ActionScript as powerfull as JavaScript?
  19. Make JavaScript compatible with all broswers by Flash

    Is it possible to create javascript application inside flash and then don't worry about browser compatiblity, as flash is cross browser itself. As many methods or properties may or may not function...
  20. Replies
    16
    Views
    4,221

    is it possible to avoid using regExp constructor...

    is it possible to avoid using regExp constructor so we can have a single line like this:
    inStr = inStr.replace(oldWordArr[i]+"/(?![^(]*\))/ig", newWordArr[i]);
    I am not sure if "ig" is allowed to...
  21. matching characters regExp positive lookahead

    Does JavaScript support positive lookahead?
    I want to match every charater except html tags.
    I found that /(?<=^|>)[^><]+?(?=<|$)/g do the job in http://gskinner.com/RegExr/ but i got sytax error...
  22. Replies
    3
    Views
    2,455

    your pattern seems not to work. I pasted it on...

    your pattern seems not to work. I pasted it on http://www.gskinner.com/RegExr/ and only the first letter of the string is matched.
  23. Replies
    3
    Views
    1,580

    Could you modify your function so that the...

    Could you modify your function so that the letters after quote or double quote don't get affected. Thx.

    Ex: I'm hear --> I'm Hear (not I'M Hear)
    Ex: this "one" --> This "one" (not This "One")
  24. Replies
    3
    Views
    1,580

    Thx for reply.

    Thx for reply.
  25. Replies
    3
    Views
    2,455

    Thx for reply. What if I want to replace these...

    Thx for reply.
    What if I want to replace these matched letters with space? Can I use string.replace on this?
Results 1 to 25 of 38
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles