www.webdeveloper.com

Search:

Type: Posts; User: skriptor

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    756

    Hi, instead of if (reg.test(value)) { use...

    Hi,

    instead of
    if (reg.test(value)) {
    use
    if (re_email.test(value)) {

    Good Luck, skriptor
  2. Hi, try something like this: if (...

    Hi,
    try something like this:
    if ( address.value != "" ) {alert("spam" );}

    Good luck, skriptor
  3. Replies
    1
    Views
    491

    Hi, try this: key.innerHTML="[+] Expand" +...

    Hi,
    try this:
    key.innerHTML="[+] Expand" + key.innerHTML.substr( 12 );
    key.innerHTML="[-] Collapse" + key.innerHTML.substr( 10 );

    Good luck skriptor
  4. Replies
    3
    Views
    654

    Hi, try this:

    Hi,
    try this:
    <input TYPE='submit' VALUE='Login' ONCLICK='check();return false;'>
    Good luck, skriptor
  5. Replies
    1
    Views
    574

    Try this if (postalAddress.value == "") not if...

    Try this
    if (postalAddress.value == "")
    not
    if (postallAddress.value == "")

    skriptor
  6. Replies
    2
    Views
    410

    Try this: for (i = 0; i < boxLength; i++) { if...

    Try this:
    for (i = 0; i < boxLength; i++) {
    if (document.choiceForm.choiceBox.options[i].selected) {
    arrSelected[count] = document.choiceForm.choiceBox.options[i].value;
    count++;
    }
    }

    skriptor
  7. Replies
    12
    Views
    4,768

    Hi, try this in an onload event...

    Hi,
    try this in an onload event
    document.getElementById( 'fieldid' ).value = '';
    There is nothing between the 's.
    Good luck skriptor
  8. Replies
    4
    Views
    1,126

    Hi, try something like this function...

    Hi,
    try something like this

    function disableFields() {
    var file_names=new Array("photo-4","photo-5");
    for(var i=0; i < file_names.length; i++) {
    var radio = "rename_";
    ...
  9. Replies
    4
    Views
    1,315

    Hi, parameter for document.write is a string: ...

    Hi,
    parameter for document.write is a string:

    document.write("<br>" );

    This row ins't necessary, because you're only adding options.

    Good luck, skriptor
  10. Replies
    4
    Views
    1,315

    Hi, look at this version: ...

    Hi,
    look at this version:


    for(i=nowYear;i<nowYear + 10;i++){
    document.write("<option>" + i + "</option>");
    }


    Good luck, skriptor
  11. Hi, try using location.href instead of...

    Hi,
    try using location.href instead of document.URL
    Good luck, skriptor
  12. Replies
    2
    Views
    875

    Hi, try something like this: ...

    Hi,
    try something like this:


    onclick="this.innerHTML = ( this.innerHTML == 'show' ) ? 'hide' : 'show';"

    Good luck, skriptor.
  13. Replies
    3
    Views
    1,127

    Hi, if both files are in the same directory it...

    Hi,
    if both files are in the same directory it works, even on a webserver.

    It fails, if you try to do cross side scripting. This is a security feature.

    Good luck, skriptor
  14. Replies
    2
    Views
    956

    Hi, try something like this: ...

    Hi,
    try something like this:

    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    <script type="text/javascript">
    var...
  15. Replies
    3
    Views
    1,127

    Hi, in IE this works: alert(...

    Hi,
    in IE this works:

    alert( xxx.document.images[ 'thisone' ].src );
    xxx.document.images[ 'thisone' ].src = '_lokal_high.gif'

    Good luck,skriptor
  16. Replies
    1
    Views
    1,080

    Hi, try something like this: function...

    Hi,
    try something like this:



    function ahrefThis() {
    strSelection = document.selection.createRange().text;
    if (strSelection == "") {
    document.comments.text.focus()
    strHref = "URL";
  17. Replies
    3
    Views
    1,369

    Hi, maybe I'm wrong, but in my opinion clipboard...

    Hi,
    maybe I'm wrong, but in my opinion clipboard only can hold one piece of information. So after your onclick clipboard always contains information from div d.

    Good luck, skriptor
  18. Replies
    2
    Views
    1,159

    Hi, remove the ';' behind the if-statement. ...

    Hi,
    remove the ';' behind the if-statement.

    Good luck, skriptor
  19. Replies
    1
    Views
    1,068

    Hi, this version works in IE and Netscape 7.1 (...

    Hi,
    this version works in IE and Netscape 7.1 ( both are using else-path )


    function change_bkgrd(the_cell)
    {
    if (document.layers)
    {
    if (document.getElementById(the_cell).backgroundColor...
  20. Replies
    1
    Views
    857

    Hi, think about little steps: i = 1; factor =...

    Hi,
    think about little steps:
    i = 1;
    factor = 1;
    sum = 0;

    j = 1 / i;
    sum = sum + ( factor * j );
    factor = factor * (-1);
    i = i + 2;
  21. Replies
    4
    Views
    1,061

    Hi, try something like this: ...

    Hi,
    try something like this:



    <html><head>
    <script language="javascript">
    function show( what ) {
    if ( document.getElementById( 'b' + what ).style.visibility == "hidden" ) {...
  22. Replies
    4
    Views
    1,061

    Hi, you made a great job, but what is your...

    Hi,
    you made a great job, but what is your problem ?

    skriptor
  23. Replies
    2
    Views
    739

    Hi, two things: 1. Added '.value' ...

    Hi,
    two things:
    1.
    Added '.value'


    function sub_price(pricename, qtyname, subname) {
    pricevalue=eval(document.order.elements[pricename].value);
    ...
  24. Replies
    9
    Views
    1,503

    Hi, your for-statement is wrong. Try something...

    Hi,

    your for-statement is wrong. Try something like this

    for (i=0; i<hippo.length; i++) { }
    Good Luck, skriptor
  25. Replies
    3
    Views
    1,060

    Hi, add this row ...

    Hi,
    add this row

    parent.selection.document.close();
    to function doSearch();

    Good luck, skriptor.
Results 1 to 25 of 85
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles