Solved

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

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

685 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