www.webdeveloper.com

Search:

Type: Posts; User: ryan1234

Search: Search took 0.02 seconds.

  1. Thread: Checkboxes

    by ryan1234
    Replies
    1
    Views
    244

    Checkboxes

    I've got a selection of checkboxes and when a certain checkbox is checked, it enables/disables other checkboxes. Is there a way using either JavaScript or jQuery, so that once a checkbox is disabled...
  2. Replies
    2
    Views
    245

    Thank you.

    Thank you.
  3. Replies
    2
    Views
    245

    [RESOLVED] Checkbox

    The code below is executed when a checkbox (A0) is clicked on, however it causes the checkbox to not be checked and doesn't change when it's clicked on again. Why is this?



    if...
  4. [RESOLVED] Checkboxes checked enable button

    Once 3 checkboxes have been checked, I want a previously disabled button to be enable. I would go about this using jQuery?

    Thanks.
  5. Replies
    2
    Views
    199

    That's great, thanks.

    That's great, thanks.
  6. Replies
    2
    Views
    199

    Two dropdown boxes change

    Once two separate dropdown boxes have been changed I want a div to appear. How would I go about writing the JavaScript for this?

    Thanks.
  7. Thread: Error

    by ryan1234
    Replies
    0
    Views
    903

    Error

    <?xml version="1.0"?>

    <suzukiServicingForm xmlns="http://www.suzuki.co.uk/cars/mysuzuki/my-services/online-booking/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
  8. Replies
    19
    Views
    1,039

    Fixed it now thanks. Did num = no.value - 0;...

    Fixed it now thanks. Did num = no.value - 0;
    Thanks for all your help.
  9. Replies
    19
    Views
    1,039

    Thanks mate. I've come up with this as I need to...

    Thanks mate. I've come up with this as I need to stick to certain code.




    function commentNumber(no) {
    var num;
    num = no - 0;
    alert(num);
    if (num < n){
  10. Replies
    19
    Views
    1,039

    That doesn't make too much difference, as a new...

    That doesn't make too much difference, as a new number is generated when the page is reloaded.
  11. Replies
    19
    Views
    1,039

    I have been doing that with an alert. But any...

    I have been doing that with an alert. But any number I write commentNumber always goes to Congratulations...... .

    n:


    function initialization() {
    count = 0;
    n = Math.floor(1 +...
  12. Replies
    19
    Views
    1,039

    n is a randomly generated number

    n is a randomly generated number
  13. Replies
    19
    Views
    1,039

    function commentNumber(no) { no = no - 0; if...

    function commentNumber(no) {
    no = no - 0;
    if (no < n){
    document.getElementById("comment").innerHTML = "Number too low! Please try again";
    }
    else if (no > n){...
  14. Replies
    19
    Views
    1,039

    Apologies for being a beginner :\ *Waving white...

    Apologies for being a beginner :\ *Waving white flag*
  15. Replies
    19
    Views
    1,039

    Where should I put the parseInt? Here: ...

    Where should I put the parseInt?

    Here:


    function commentNumber(parseInt(no)) {


    Here:
  16. Replies
    19
    Views
    1,039

    Every time I write a number in the text box, it...

    Every time I write a number in the text box, it just says "Number too low!"
  17. Replies
    19
    Views
    1,039

    Thanks it now works :)

    Thanks it now works :)
  18. Replies
    19
    Views
    1,039

    if statement problems

    function commentNumber(no) {
    if (no == n){
    alert("Congratulations you have guessed the right number!");
    }
    else if (no > n){
    alert("Number too high!");
    }
    else {
    alert("Number too...
  19. Replies
    6
    Views
    715

    I put your code in another html file and it does...

    I put your code in another html file and it does work
  20. Replies
    6
    Views
    715

    A new window doesn't open. The JavaScript I put a...

    A new window doesn't open. The JavaScript I put a file called myjavascript.js and link it in my header.



    var hobstring="";
    function displayMessage() {
    var...
  21. Replies
    6
    Views
    715

    When I click submit nothing is happening :S

    When I click submit nothing is happening :S
  22. Replies
    6
    Views
    715

    Thanks. I meant a window sorry.

    Thanks. I meant a window sorry.
  23. Replies
    6
    Views
    715

    Display message of details in form

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    <html>
    <head>
    <title>JavaScript</title>

    <meta http-equiv="Content-Type" content="text/html;...
Results 1 to 23 of 23
HTML5 Development Center



Recent Articles