www.webdeveloper.com

Search:

Type: Posts; User: Ofekmeister

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    880

    function validation(form) { var returnvalue =...

    function validation(form)
    {

    var returnvalue = true;
    var losen1 = form.psw1.value;
    var losen2 = form.psw2.value;
    var antalnum = losen1.match(/\d/g);

    if(losen1 != losen2)
    {
  2. Replies
    5
    Views
    1,199

    Oh

    Oh
  3. Replies
    5
    Views
    1,199

    View Post

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    <title>Objects...
  4. function seeBig(_this) { ...

    <script>
    function seeBig(_this) {
    document.all.view_img.src=_this.getElementsByTagName("img")[0].src;
    }
    </script>

    assuming each image is wrapped in an element with the onclick function...
  5. Replies
    5
    Views
    1,237

    function getValidNumber(str) { var...

    function getValidNumber(str) {

    var validNum = /^(?:[0-9]{1,3},?)+(?:\.[0-9]+)?$/

    if (validNum.test(str) {
    return parseFloat(str.replace(',', ''))
    }
    else {
    ...
  6. Thread: ARRAY's

    by Ofekmeister
    Replies
    7
    Views
    1,387

    You guys do realize that the variable "link" is ...

    You guys do realize that the variable "link" is
    document.getElementById("alinks").getElementsByTagName("a")
    right?
  7. Thread: ARRAY's

    by Ofekmeister
    Replies
    7
    Views
    1,387

    var tds = document.getElementById('alinks'); //...

    var tds = document.getElementById('alinks'); // Returns first occurrence of 'alinks'
    var link = document.getElementsByTagName('a'); // Returns all anchors
    for ( var i = 0; i < link.length - 1;...
  8. Replies
    1
    Views
    1,649

    Priority Queue

    Hey everyone! I made my own priority queue and was wondering what you guys think of my implementation: logistics, usability, speed, pros (if any lol) and cons vs using heapq, etc. Adding 10000...
  9. Use onchange instead of onblur.

    Use onchange instead of onblur.
  10. Replies
    3
    Views
    2,057

    Thank you both for the feedback! Good thinking...

    Thank you both for the feedback! Good thinking eval, I wish I checked WD sooner. A few hours after posting I did exactly that :) I completely forgot about JS calls though, thanks for that. RegEx...
  11. Replies
    2
    Views
    1,010

    HTML Parser Logic

    Hello everyone! I've written a program that parses HTML files to see if the tags are balanced, i.e. all start tags have an end. Basically, it reads the file line by line and prints and puts all...
  12. Replies
    3
    Views
    2,057

    HTML Parser Logic

    Hello everyone! I've written a program that parses HTML files to see if the tags are balanced, i.e. all start tags have an end. Basically, it reads the file line by line and prints and puts all...
  13. Replies
    0
    Views
    994

    HTML Parser Logic

    Hello everyone! I've written a program that parses HTML files to see if the tags are balanced, i.e. all start tags have an end. Basically, it reads the file line by line and prints and puts all...
  14. Replies
    7
    Views
    1,332

    var validEmail =...

    var validEmail = /^[a-zA-Z0-9.-_%+]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;
  15. if(ele.style.display == "block")

    if(ele.style.display == "block")
  16. Replies
    2
    Views
    865

    Bump.

    Bump.
  17. Replies
    20
    Views
    3,014

    Woah, woah, wooaaahhhhh! I have NO idea what this...

    Woah, woah, wooaaahhhhh! I have NO idea what this does, can you please explain, Kor?
  18. Replies
    4
    Views
    1,577

    Here you go: function ValidateField(entry) ...

    Here you go:


    function ValidateField(entry)
    {

    var money;
    var moneyCheck = /^[-]?[0-9]*(,?[0-9]+\.?)?[0-9]+$/;

    if (entry ==...
  19. Replies
    4
    Views
    1,577

    Not quite sure how to prevent . and , from coming...

    Not quite sure how to prevent . and , from coming after one another:


    function ValidateField(entry)
    {

    var money = /^[0-9][0-9|\.|,]*/;

    ...
  20. JavaScript cannot access arbitrary addresses in...

    JavaScript cannot access arbitrary addresses in memory.
  21. Replies
    2
    Views
    1,026

    Example:

    Example:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

    ...
  22. Replies
    2
    Views
    1,282

    Showing the python script would be helpful.

    Showing the python script would be helpful.
  23. Replies
    8
    Views
    2,723

    I know this is resolved but, I have a question...

    I know this is resolved but, I have a question Fang. If one's wireless signal isn't phenomenal by any means, wouldn't this clear the form data before it gets fully submitted or do browsers store the...
  24. Replies
    1
    Views
    988

    Bump.

    Bump.
  25. Replies
    8
    Views
    2,723

    document.body.all.tags('input').value = ''; or...

    document.body.all.tags('input').value = '';

    or http://www.w3schools.com/input_type_reset
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles