Solved

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

Posted on 2012-03-10
3
285 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now