Solved

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

Posted on 2012-03-10
3
276 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
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 look for a specific file type in a local or remote server directory using PHP.

744 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

17 Experts available now in Live!

Get 1:1 Help Now