Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. is it possible to get a value from another page using JavaScript language?

is it possible to get a value from another page using JavaScript language?

Scheduled Pinned Locked Moved JavaScript
javascriptquestion
6 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hakan Bulut
    wrote on last edited by
    #1

    is it possible to get a value from another page using JavaScript language?

    B 1 Reply Last reply
    0
    • H Hakan Bulut

      is it possible to get a value from another page using JavaScript language?

      B Offline
      B Offline
      Blikkies
      wrote on last edited by
      #2

      how is the value stored in the other page? e.g. In a label or textbox?

      H 1 Reply Last reply
      0
      • B Blikkies

        how is the value stored in the other page? e.g. In a label or textbox?

        H Offline
        H Offline
        Hakan Bulut
        wrote on last edited by
        #3

        any value of text. contained the numbers itself in actually.. That is text only!

        B 1 Reply Last reply
        0
        • H Hakan Bulut

          any value of text. contained the numbers itself in actually.. That is text only!

          B Offline
          B Offline
          Blikkies
          wrote on last edited by
          #4

          I don't know if there is any other way but the way I would extract values from another page is to use an IFrame(that is hidden) to load the page and then use JQuery to extract the values that I want, e.g.

          var myVal = $('#iFrame').contents().find('#textBoxID').val();

          This can give you an idea or lead you to your solution.

          H 2 Replies Last reply
          0
          • B Blikkies

            I don't know if there is any other way but the way I would extract values from another page is to use an IFrame(that is hidden) to load the page and then use JQuery to extract the values that I want, e.g.

            var myVal = $('#iFrame').contents().find('#textBoxID').val();

            This can give you an idea or lead you to your solution.

            H Offline
            H Offline
            Hakan Bulut
            wrote on last edited by
            #5

            I have already tried to attain the line of the page inside computed to lines of page, just like that: var col = 0; var len = 0; do{ col++; len++; while(col<67... forexample i have not just my work on this topic which is already worked not around here!.. Count up to copies will line! and follow the selected.index.Value of html page constant to copy this line or any copy method i mean that any copy method to attined a line of selected index value or is it possible to count of lines of any page?

            1 Reply Last reply
            0
            • B Blikkies

              I don't know if there is any other way but the way I would extract values from another page is to use an IFrame(that is hidden) to load the page and then use JQuery to extract the values that I want, e.g.

              var myVal = $('#iFrame').contents().find('#textBoxID').val();

              This can give you an idea or lead you to your solution.

              H Offline
              H Offline
              Hakan Bulut
              wrote on last edited by
              #6

              I wanted to obtain a value that can be updated. Thanks a lot i try to JQuery method

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups