I am trying to make a page where users could edit fields separately on the fly (using jQuery). Something like this:1. User clicks "edit" link -> corresponding field value changes to input with current value. And edit link changes to "save" link.2. User edits the value and clicks save link. The new value will be saved to db and will be shown and corresponding "edit" link is restored.Here is a start what I tried but I am a bit lost. I can't get to work even the link changing separated from all other functionality. Here is my code:
Code JavaScript:
function changeButton(id, type)
{
I am looking for JQuery script to edit mysql table. I am sure something should be published, but I don't know where to search. I need something very simple to install and configure. The idea is to have a form field on a page, where all columns of table would be placed. Every mysql column should be on separate line and there should be a save button next to it. So if I edit a column, then I would just press Save button, and the request to save actual value would be send to server. No page reload. I would continue editing and saving all columns and when I would be at bottom of page, then I would press the Next button, and next mysql row would be loaded to the form field.
I need to know level of difficulty/hours needed to do this:
A user uploads a photo into an editing tool. It takes a couple of seconds to upload the full res version. Then, when the photos are being edited in the tool (cropping, color, etc.) it converts to low res for faster editing, so the high res image doesn't have to load every time there's a change. Once the user is done, and/or adds their final product, the manipulated image is saved to hi res again, for print.
What is the time estimate/level of complexity if this? The code is there for the tool (some advanced JavaScript), just need to change the speed of editing. Server disk write speed is plenty fast.
I'm trying to create a multi-field in-place editing: basically I have a series of values that I'd like to display as a text but when I click a specific button those texts have to become text-fields.
I'm making a little script using jQuery to send a sentence to a textarea by clicking on the text. It does this fine however, if I edit the textarea to remove a sentence manually, I can no longer click on the sentences to send them to the textarea. Don't know why this happens. It's been a while since I played around with JavaScript.
I've tried to google this but cannot seem to find an answer. Does anybody have an answer for this? Or could you perhaps point me in the right direction to find the answer?code...
We are building a web app that will require non-technical people to build and edit a single HTML "home page". Ideally it would allow them to add blocks of text and images to the page, change simple styles, and add and maintain links.
I don't even know how to go about searching for such a thing. It's basically like a single page simple CMS. Something like CKEditor could be used for the individual blocks, but I was wondering if there was anything out there that allow us to put this together rapidly via the power of jQuery.
I found "editease" [URL] which looks close... but it's a bit out of date and it depends upon PHP. We run ColdFusion, but could port over PHP if we needed to.
What I am going to explain is possible in JS and if I could find a snippet somewhere?
For the sake of simplifying, I have a an HTML table with several cells in it. Like a calendar.
What I need to do is be able to click on any one of cells in the table that contains text or a graphics image in it and edit the text or the img src then save the changes.
I am trying to make a table wherein I can edit the value of the cells of the table just by clicking on them. Is this possible? I want it to be like a browser-based excel type of interface.
Would I toggle the visibility of the text and a hidden input form when the user clicks on the text? But then wouldn't that require separate forms for every single cell?
There are times that I am using another person's computer who has no knowledge of updating HTML and does not even know if he has the necessary programs to do the FTP.
I may see a minor problem with my site and would like to change it on the fly. What I would like to know are the answers to the following questions.
1. Is there any way to display unformated HTML within a web page without using the browsers source facility?
2. Is there a way to modify it? Maybe showing it in a form textarea.
3. Is there a way for javascript or a form to do an FTP back to the web site? This would obviously require id and password.
I have an events form with date fields filled out manually, and wish to convert to pop up calendars. i have a pop calander script but it is updating all the fileld with the same date! as the call to the script is the same.
i am open to new ideas on this so i can have say 5 calendar icons for dates to be set in the date-text field when a date is selected in the popup. and then have the option to click more dates to open up more fields.
my fields are:
event title description date start time end time
has anyone do something like
edited:
when the form is submitted it then reads all info and adds to the MySQL database with the same field names and in the form.
how to do a text editing interface similar to the one on this forum, where you can click on a bold B to set the tags between the text to be bold, etc. How do you get a javascript window with a text field so users can enter the text, and then how do I enclose the tags around that value?
The rest of the stuff in PHP I can do (just substitute [b] for strong or whatever), but I'm baffled about the javascript bit.
For sites like Facebook that allow you to crop your picture/rotate etc... Is there a javascript plugin out there that one can plug into ones site to be able to achieve similar?bviously the JS script must say it to a server side script for it to be saved to disk. But how is this achieved. Is this something one can code from scratch? I am really keen using one
I found script and put it on my website to validate email addresses. But now there are email addresses like q.com that can't register on my site because the script is looking for at least two digits before the ".com"
I am really new to javascript, and what I try to learn I can't seem to retain. Anyway, I have some text that onclick will allow anyone to edit it. I was recently told that this field should only be editable for admins. I don't know anything about the code or the website because it just became my project a couple weeks ago.
I am referencing an iframe from another server in my website. The iframe is in a table format, and I want to get rid of the top two rows of the table for my website. Is there any way I could display the iframe without the first two rows?
I am trying to use a code snippet fromthe code works fine however what I want to do is modify it so that when the user clicks the link to add another entry their would be a drop down <select> box to the left of the text input box. Which I have working but each time the link is clicked to add a new <select> and text input box row the previous <select> dropdowns seem to loose their values and only the text input boxes keep their values. So I am not sure where/how to edit my below code to work properly
Code: below javascript controls the functionalty of the script var arrInput = new Array(0);
I'm trying to setup a mail merge using a gmail docs script from [url]. So far, it works pretty well, but I want to edit it to include the following:
1) The script should start with "Dear Noah" as opposed to "Dear Noah_Kaplan"
2) I want to add my canned response to the script so that it always appears at the bottom of the e-mail.
3) Lastly, I want the outgoing mail to be saved as individual drafts in my drafts folder in gmail before it's sent out. That way, I can decide if I want to add a sentence or two to personalize each individual email draft.
I am trying to figure out how to make an online quiz via Javascript, based on just a couple questions (4 to be exact) from a question-bank, and I want only 2 of the questions out of the 4 to appear when the quiz is taken (randomly of course).I found a great template online for what I want my quiz to look like, however, it does NOT have the random add-on functionality I would like.I am not looking for the 'answer' or for someone else to do the workHere is the quiz template I found:
<?xml version = "1.0" encoding = "utf-8"?> <!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN" "http:www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
I am trying to edit some script to have the photos rotate randomly rather than rotate in order. (The first half of the script was generated by dreamweaver)((Also, this is not my own code to begin with))