Results 1 to 5 of 5

Thread: page refresh

  1. #1
    Join Date
    Apr 2010
    Posts
    6
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default page refresh

    hi all,

    Update Part Of A Page Without Refreshing? - is it possible to refresh only part of the webpage (for exmpl .Textbox) without reloading the whole page again using java script.If so kindly give an example.

    thanks in advance

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    There are two ways:

    1. Use Javascript to request a page load (and insert it as part of the page). This is usually with a method called 'Ajax'-- look that up on google and you'll find lots of info.

    2. Use an iframe. Just refresh the iframe and the rest of the page will remain as it is. (You could also use frames if you prefer and your design works like that.)


    Alternatively you could use flash or another plugin that can work like that.


    Ajax is probably the answer you want.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. The Following User Says Thank You to djr33 For This Useful Post:

    danyjoel (04-19-2010)

  4. #3
    Join Date
    Apr 2010
    Posts
    6
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Thank u very much,Can you give me a example with code using ajax

  5. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Just search google. Ajax is a very popular method (almost like it has status as a 'language' of its own, though it's just part of Javascript). There are many ways to do it. You can search for existing scripts or you can try to write your own.
    Google "Javascript Ajax load" and you'll find information.
    Be warned, though, if you are trying to code it yourself, it can get complex.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. The Following User Says Thank You to djr33 For This Useful Post:

    danyjoel (04-23-2010)

  7. #5
    Join Date
    Apr 2010
    Posts
    6
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Thank you Daniel i got it.

    cheers,
    Ramesh

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •