Advertisement

06.19.2008 at 01:19AM PDT, ID: 23498022
[x]
Attachment Details

upload image form web page using javascript

Asked by kinski2008 in Web Browsers, JavaScript, Scripting Languages

Tags: javascript, all browsers

HI

I was wodnering if some could help. I am currrently developing a site customiser where users can create their own site from a template. This system allows the suer to chnage the colours of certian divs etc in relatime, using javascript to chnage the colours.

Another feature I would like to have is for the user to be able to replace images form within this area as semalessy as possible. So they can literally click a button, a div appears with dimension information etc and a field to select a file. They click go and the file uploads.

My question really is if it is possbile for javascript to initiate a file upload and most importanly IF once the file is uploaded, the div can be rewritten without having to relaod the entire page.

The reaosn i want to do it this wway is becasue it feels more seamless. And also because if a user has changed the colours of their site I would have to send all this info as well if the pages refreshes.

any help would be great

AdeStart Free Trial
 
Loading Advertisement...
 
[+][-]06.19.2008 at 02:16PM PDT, ID: 21826572

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 12:18AM PDT, ID: 21828979

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 02:05AM PDT, ID: 21829392

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 09:22AM PDT, ID: 21832660

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 10:09AM PDT, ID: 21833055

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Web Browsers, JavaScript, Scripting Languages
Tags: javascript, all browsers
Sign Up Now!
Solution Provided By: Zvonko
Participating Experts: 1
Solution Grade: C
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628