Thread: Change Image

  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Rep Power
    I have a image on my html table...and I wish
    to use form button to specify the file location of the image..and the image in the table can automatically shows the update image on the table...
    Can I do it without "submit"(refresh) the
    whole page using PHP?
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Rep Power

    No you can't do this with out a submit or refresh in php.
    becoz your php script is working in server side.but you need some changes in client side with out any conatct with server.

    one solution for this is ,you should use a java script to update your picture in client browser with out a refresh.

    you can use onBlur event of the text field to acheive this in javascript.

    SR -

    "The fear of the LORD is the beginning of knowledge..."

Similar Threads

  1. Replies: 6
    Last Post: April 12th, 2012, 12:30 PM
  2. change image src with javascript ?
    By stojan in forum JavaScript Development
    Replies: 4
    Last Post: January 8th, 2004, 08:56 AM
  3. how to change the color of latex2html generated image?
    By changhai in forum Photoshop Help
    Replies: 0
    Last Post: January 4th, 2004, 09:34 AM
  4. onClick onMouseover image change
    By BDuck in forum HTML Programming
    Replies: 1
    Last Post: January 3rd, 2004, 11:23 PM
  5. Javascript: Default image, have it change with links
    By bets in forum JavaScript Development
    Replies: 2
    Last Post: December 14th, 2003, 09:30 PM

IMN logo majestic logo threadwatch logo seochat tools logo