www.webdeveloper.com

Search:

Type: Posts; User: Elmur

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    3,137

    you want the location href to have have the...

    you want the location href to have have the variable added the end of the url in a parameter like this:


    var reviewscore = "review.html?score="+score;

    Then within the button:

    ...
  2. Replies
    17
    Views
    3,137

    It is a function using regex to get parameters...

    It is a function using regex to get parameters from a URL

    If your URL had the parameter

    http://yourdomain.com/?myparam=thisisit

    to get the value of myparam you would use gup( 'myparam' );
  3. Replies
    17
    Views
    3,137

    Pass the score value in a URL parameter like...

    Pass the score value in a URL parameter like this:

    http://yourdomain.com/folder/?score=2

    then to get the score parameter value, use a function like this:


    function gup( name ){
    name =...
  4. Replies
    17
    Views
    3,137

    to pass variables between functions, put the...

    to pass variables between functions, put the variable name inside the brackets after receiving functions name, like this:

    function1() {
    var score = 1;
    }

    function2(score)
    {
    alert("This is...
  5. Thank you for the reply Shawn, for me both the...

    Thank you for the reply Shawn, for me both the changepic1.html and changepic2.html child windows open from within the parent window,

    but when an image is clicked on the changepic1.html page it...
  6. 2 HTML pages with same Javascript code, but one works other one does not

    I have the following Javascript code on 2 HTML pages, they are popup windows from the main parent window.

    When the user selects a picture in one of the child windows it changes a variable and an...
Results 1 to 6 of 6
HTML5 Development Center



Recent Articles