Script For Editing ?
Feb 8, 2009
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.
View 3 Replies
ADVERTISEMENT
Feb 7, 2011
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.
View 2 Replies
View Related
Jan 3, 2005
i'm making a script which flips topics on a news system, using divs so it updates on the page. i'm trying to insert text into a div as this happens.
i've tried using
var ndiv = document.getElementById("newsMain"):
then using
ndiv.document.open();
ndiv.document.write("news stuff");
ndiv.document.close();
with no result :(
*edit*
i get an object doesn't support this method error on loading the page
View 4 Replies
View Related
Jan 1, 2007
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?
View 2 Replies
View Related
Jun 7, 2011
Take a look at my code then I'll tell you what error I get...
The element with that id has been created and I still get this error when I try to style it...
My browser is Google Chrome.
View 2 Replies
View Related
Jul 23, 2005
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.
View 3 Replies
View Related
Jan 17, 2009
I have this code in the beginning: document.write("<option id='test' value='move" + i + "'>Fire Blast</option>");
How do I edit the text Fire Blast to something else? The Fire Blast part is not attribute, so it can't be edited like:
document.movelist.name = "Something else";
View 2 Replies
View Related
May 25, 2010
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.
View 2 Replies
View Related
Aug 27, 2009
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)
{
[code]....
View 1 Replies
View Related
Feb 28, 2003
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.
View 12 Replies
View Related
Mar 5, 2009
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
View 4 Replies
View Related
Apr 22, 2009
Here is the string:
Jim Peterson 21 | Ed N 31 | Mary Joe 24 | jennifer baley 22
I am trying to grab all the text other than the "|" and output that to a text field (or global variable)..
How can we do this? I can't seem to find any scripts that show me exactly how to delete all those "|"...
is there a way to put "jim peterson 21" and "ed n 31", etc.. into their own variables?
View 2 Replies
View Related
Jun 27, 2007
i cant Delete the selected Row infact i am generating the Rows Dynamically but it always delete the row from starting Node.. Code:
View 7 Replies
View Related
Nov 20, 2010
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"
Code:
View 6 Replies
View Related
Aug 4, 2011
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.
View 1 Replies
View Related
Oct 9, 2010
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?
View 2 Replies
View Related
Sep 22, 2010
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.
View 3 Replies
View Related
Aug 13, 2011
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);
[code]....
View 2 Replies
View Related
May 25, 2010
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.
By the way, here's the script I want to edit:
View 5 Replies
View Related
Oct 28, 2011
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...
View 1 Replies
View Related
Nov 4, 2008
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">
[code]....
View 3 Replies
View Related
Oct 1, 2009
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))
function MM_preloadImages()
{ //v3.0[code].....
View 1 Replies
View Related
Jul 15, 2010
I'm working on this calendar and I added a countdown timer in it. I've figured out pretty much everything except how to get this timer to post the date instead of "0 days 00h 00m 00s".
Example if the countdown script is counting down to "2010-7-9 01:25:00 GMT+9:00" Once that date has been reached I'd prefer it show that instead of the "0 days 0hh etc.."
Live Example:[url]
Javascript
Code JavaScript:
View 1 Replies
View Related
Aug 30, 2011
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.
View 10 Replies
View Related
Jan 11, 2012
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.
View 1 Replies
View Related
Oct 20, 2010
Is there a plugin for making an html element type-able? Basically I want to do something similar to [url] where you're editing inline html.
View 4 Replies
View Related