Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2012-03-10
3
Medium Priority
?
314 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 1000 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

Find the IP of a Linux Server in Command Line

Knowing your server’s IP address(s) can be a useful bit of information to have for various reasons. This tutorial will teach you how to check the IPs of any modern Linux server. To follow along will simply need access to the server via SSH or TTY.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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)
Suggested Courses

730 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