www.webdeveloper.com

Search:

Type: Posts; User: mataichi

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    2,172

    Change Password Custom Control

    First off I am just learning .NET so bare with me.
    I am using a custom Membership Provider to manage users. I have a Login control that uses this custom provider and works fine. I can login and the...
  2. Thanks for the reply! I actually got my code...

    Thanks for the reply!
    I actually got my code working by just putting the actual element in place of "this".
    Something like...



    AddEvent(theSelect,"change",function(){...
  3. [RESOLVED] Pass "this" as argument to attachEvent()

    I have code that will attach events cross different browsers....


    //cross browser function to attach event (onclick, etc) to element
    //-xEle: element to attach event to
    //-xEvent: action event...
  4. Replies
    5
    Views
    807

    You can hide the elements you want to by adding...

    You can hide the elements you want to by adding this to the style tag...

    display:none;

    Then you can display the elements by changing that style like this....
    function doButtons(picimage,...
  5. Replies
    5
    Views
    807

    document.getElementById('mp3Holder').href=...

    document.getElementById('mp3Holder').href= "http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl="+mp3file+"&autoPlay=true";
    document.getElementById('ac3dl').href= dlURL
  6. Replies
    3
    Views
    1,015

    jQuery Ok, so I made a few assumptions. Here is a basic...

    Ok, so I made a few assumptions.
    Here is a basic outline of how I handle this issue.
    I assume you have a page and you are uploading a file. You want to upload the file, but not refresh the entire...
  7. Replies
    3
    Views
    1,015

    jQuery After you upload the file, you can use javascript...

    After you upload the file, you can use javascript to add a hidden field that holds the name of the file.
    I do something similar for one of my projects.
  8. I'm not sure you have the correct syntax for...

    I'm not sure you have the correct syntax for setting the background color attribute.
    Maybe try changing

    myTable[i].rows[f].setAttribute("style", "background-color:#e5e5e5;");

    to
    ...
  9. So when the user clicks the radio button you want...

    So when the user clicks the radio button you want the form to submit as well?
    What if they accidentally click the wrong selection?

    If that is what you really want, maybe you can just stick the...
  10. I think the label tag has to be wrapped around...

    I think the label tag has to be wrapped around the input.

    <label><input></label>

    or if you really need a javascript solution you could do something like...

    <img src="/9908/graphics/ffi.jpg"...
  11. Replies
    2
    Views
    591

    Why are you using brackets in the name? It is...

    Why are you using brackets in the name?
    It is probably confused because it thinks you are referencing an array.
  12. Replies
    3
    Views
    2,096

    Perhaps using the onload event. I assume there...

    Perhaps using the onload event.

    I assume there is a <form> you are submitting.
    Give your form a name like...

    <form action="Page3.asp" method="post" id="MainForm" name="MainForm">

    Then use...
  13. Replies
    4
    Views
    7,898

    If that's the case then I guess you can just...

    If that's the case then I guess you can just hardcode it.
    Give the select element an id like....
    <select id="Q2" name="Question2" size="2" onchange="check(this.value)">

    <body...
  14. Replies
    3
    Views
    1,226

    AJAX onkeyup is going to fire for every character they...

    onkeyup is going to fire for every character they type in. Is this what you really want to do?
    Perhaps you want to use onblur so that when they move the focus from the text box it fires?

    Here is...
  15. Replies
    4
    Views
    7,898

    should work, but you are...

    <body onload="check();"> should work, but you are not passing anything to the function.
    You need a more generic function to check the skip pattern on the page, something like....<body...
  16. Try removing the tick marks [ ' ] from around the...

    Try removing the tick marks [ ' ] from around the true and false in your flipCB call


    onClick="flipCB('cb1', true);

    Also, when you check if document.getElementById(cbID) is valid you can just...
  17. Replies
    5
    Views
    882

    Interesting. Well, you could do something like...

    Interesting.
    Well, you could do something like this to get every character within the string.


    for (var x=0; x<str.length; x++) {
    alert(str.charAt(x));

    }
  18. Replies
    5
    Views
    882

    Perhaps wrap a around each string? or ...

    Perhaps wrap a <div> around each string?

    or

    I think you have to create a <br> element by doing something like...
    document.createElement('br') and inserting it into the document between the 2...
  19. Replies
    3
    Views
    1,226

    AJAX Kind of vague question. Could you be more...

    Kind of vague question. Could you be more specific?
    So onkeyup you want to get the name/value of the current text box?
  20. What was the solution so others will know too.

    What was the solution so others will know too.
  21. Well, you want to pass a value to showUser(). The...

    Well, you want to pass a value to showUser(). The way you have it setup you are passing a variable that has no value. Do you mean to put showUser('mnemonic')?
    Or why not use this.value as you did...
  22. We've all been there.

    We've all been there.
  23. Replies
    3
    Views
    845

    .checked returns a boolean (true or false), so...

    .checked returns a boolean (true or false), so you're first try is way off.

    Try this...


    if (document.form[theName][0].checked)

    I have found that if there is only 1 radio button in the...
  24. Inf Form 2, I do not see that you closed the...

    Inf Form 2, I do not see that you closed the select tag. You need to add </select> before the </form>.
    This may be causing the problem.
  25. Replies
    3
    Views
    2,200

    AJAX Seems like I've passed arguments before, but I...

    Seems like I've passed arguments before, but I can not find an example.
    This doesn't work??


    onreadystatechange=GetDataOptions(MyTabNb);

    function GetDataOptions(TabNb) {

    }
Results 1 to 25 of 93
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles