Solved

Jquery php, update html after dialog - Update description with out refreshing page

Posted on 2012-03-10
3
309 Views
Last Modified: 2012-03-27
Here is 500 points

I have a list of file descriptions that came from a database. using php
I want to allow the user to change the description by pressing
an edit icon
if they click on the description, I show them the file.

AFter the edit the name, I want to update the html table
with out refreshing the screen.  

There are many files with Descriptions.  and a varable # of them.
So need to pass the file ID, so I know which one they are updating.

if they did not have to press on the name to view, I would have tried Jeditinline
0
Comment
Question by:yahoolane
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Expert Comment

by:Hugh McCurdy
ID: 37706132
I don't see a question.  Do you want something like this?

http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_html_change_p

(Except you want them clicking on text instead of a file?)

I suggest you read the tutorial   http://www.w3schools.com/jquery/default.asp

Then if you still have questions after that, please ask.  Please try to be more specific.  However, if you were asking the JQuery can do what you want, I think the answer is Yes.
0
 
LVL 1

Author Comment

by:yahoolane
ID: 37706163
Here is the Root Question:

After the user edits the name, I want to update the html table
with out refreshing the screen.  

There are many files with Descriptions.  and a varable # of them.
So need to pass the file ID, so I know which one they are updating.
( I said this because Lots of examples are for single item per screen)

I have seen lots of Jquery, but do not want to do the work myself.
I feel someone here wants the points to give me a good Solution.
0
 
LVL 13

Accepted Solution

by:
Hugh McCurdy earned 500 total points
ID: 37706206
It's rather hard to give a complete solution based on the information provided.

What are you trying to change the element's information to?  The file name?  The contents of the file?

You might get one of the experts to code this for you but it looks rather complicated and the problem (IMHO), isn't well enough defined to write any code.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question