Cut and paste in a textarea proof of concept

Hi,
I've been experimenting with Javascript on the iPhone. I have a proof of concept of one way you could write textareas that support cut and paste. It can be found at:
http://www.cs.sjsu.edu/~pollett/test/iphone.html
Best,
Chris

Thank you for the scrolling tip!! This is incredibly useful. I could not figure out how to do this, and Apple Support didn't know.
PowerMac 1.25Ghz G4, iMac DV G3   Mac OS X (10.4.10)   iPhone

Similar Messages

  • With emails when I send a link it cannot be opened but has to be cut and pasted by the recipient - how can I avoid this

    When I send a link to a page or website via email (Hotmail or Yahoo) it cannot be opened by the recipient. Instead it needs to be cut and pasted into their browser bar for them to open it.
    This problem only started after loading Firefox on my computer and I wonder if you can help in any way.

    Just above the textarea that you use to enter the message text there is usually a button bar with buttons to add text formatting like Bold and Italic.<br />
    That toolbar may also have a button to turn a text link into a clickable hyperlink (look for a chain like button).<br />
    You can select the text and click that button to turn the link into a clickable hyperlink.<br />
    If you can't find the button then hover them all to check the tooltip of each.<br />
    * Make Link - https://addons.mozilla.org/firefox/addon/make-link/

  • Cut and Paste and other things do not work in 1.3.1_01 or higher.

    I develop a tool that uses an Swing based, applet UI that is compiled using JDK1.1.8 and is distributed to our customers. To enable cut and paste we have the customer choose to trust the applet and in JRE and Plug-In level 1.3.1 everything worked fine. We are now getting several differet problems, including cut and paste not working and URLs that nolonger resolve properly, when customers try to use 1.3.1_01 or higher.

    cut and paste in JTextComponents requires signed Applets... (no problems with console Java applications)
    a alternate solution is to use the old TextArea instead of a JTextArea
    http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html

  • I can't cut and paste

    I want to cut and paste on my web page but the functions are not available and grayed out. I modified the user_pref as directed substituting the web page url for modzilla.org (actually cut and pasted exactly using notepad with no success. The modifications are saved in the file. which is have provided.
    # Mozilla User Preferences
    /* Do not edit this file.
    * If you make changes to this file while the application is running,
    * the changes will be overwritten when the application exits.
    * To make a manual change to preferences, you can visit the URL about:config
    * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
    user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1283608473);
    user_pref("app.update.lastUpdateTime.background-update-timer", 1283608564);
    user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1283608906);
    user_pref("app.update.lastUpdateTime.microsummary-generator-update-timer", 1283187314);
    user_pref("app.update.lastUpdateTime.places-maintenance-timer", 1283608587);
    user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1283594485);
    user_pref("browser.anchor_color", "#0000FF");
    user_pref("browser.display.background_color", "#C0C0C0");
    user_pref("browser.display.use_system_colors", true);
    user_pref("browser.download.manager.alertOnEXEOpen", false);
    user_pref("browser.download.manager.showAlertOnComplete", false);
    user_pref("browser.formfill.enable", false);
    user_pref("browser.migration.version", 1);
    user_pref("browser.places.smartBookmarksVersion", 2);
    user_pref("browser.rights.3.shown", true);
    user_pref("browser.startup.homepage", "http://www.msn.com/");
    user_pref("browser.startup.homepage_override.mstone", "rv:1.9.2.8");
    user_pref("browser.visited_color", "#800080");
    user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
    user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
    user_pref("capability.policy.allowclipboard.sites", "http://blueroof360.com");
    user_pref("capability.policy.policynames", "allowclipboard");
    user_pref("extensions.enabledItems", "{20a82645-c095-46ed-80e3-08825760534b}:1.2.1,[email protected]:1.0,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.8");
    user_pref("extensions.lastAppVersion", "3.6.8");
    user_pref("extensions.update.notifyUser", false);
    user_pref("font.name.serif.x-western", "Cambria");
    user_pref("general.useragent.extra.microsoftdotnet", "( .NET CLR 3.5.30729)");
    user_pref("idle.lastDailyNotification", 1283514289);
    user_pref("intl.accept_languages", "en-us");
    user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8");
    user_pref("microsoft.CLR.auto_install", false);
    user_pref("network.cookie.prefsMigrated", true);
    user_pref("network.proxy.type", 0);
    user_pref("places.last_vacuum", 1282582722);
    user_pref("print.print_printer", "\\\\DESKTOP\\HP LaserJet P2015 Series PCL 5e");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_bgcolor", false);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_bgimages", false);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_command", "");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_downloadfonts", false);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_edge_bottom", 0);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_edge_left", 0);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_edge_right", 0);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_edge_top", 0);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_evenpages", true);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_footercenter", "");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_footerleft", "&PT");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_footerright", "&D");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_headercenter", "");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_headerleft", "&T");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_headerright", "&U");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_in_color", true);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_margin_bottom", "0.5");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_margin_left", "0.5");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_margin_right", "0.5");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_margin_top", "0.5");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_oddpages", true);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_orientation", 0);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_pagedelay", 500);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_paper_data", 1);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_paper_height", " 11.00");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_paper_size_type", 0);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_paper_size_unit", 0);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_paper_width", " 8.50");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_reversed", false);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_scaling", " 1.00");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_shrink_to_fit", true);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_to_file", false);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_to_filename", "");
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_unwriteable_margin_bottom", 0);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_unwriteable_margin_left", 0);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_unwriteable_margin_right", 0);
    user_pref("print.printer_\\\\DESKTOP\\HP_LaserJet_P2015_Series_PCL_5e.print_unwriteable_margin_top", 0);
    user_pref("privacy.sanitize.migrateFx3Prefs", true);
    user_pref("security.warn_viewing_mixed", false);
    user_pref("urlclassifier.keyupdatetime.https://sb-ssl.google.com/safebrowsing/newkey", 1285173052);
    user_pref("xpinstall.whitelist.add", "");
    user_pref("xpinstall.whitelist.add.36", "");

    Hello.  In 2012 you answered a query about the following problem:
    "I have had my MacBook Pro for over three years now, without much trouble, but recently I've been unable to send images that I have cut and pasted into Apple mail. I can attach an image that I have saved in my photos and it will send but I can not send an image that I have cut and pasted from the internet."
    This problem started with me this morning and it does not happen when I open a test account.  The thread stops after you asked if it occurs in the test account, did you ever find a solution to this issue?  I am using mac mail 3.6 on system 10.5.8.
    I hope you receive this, I have never posted in one of these forums.
    Thanks in advance,
    Dave

  • Can't cut and paste in a web based e-mail service. (Not G-mail)

    I belong to a membership site that is coaching me on e-mail marketing. I want to cut and paste different bits of information and ad links etc. to emails that I am sending out through the site.
    For some reason, Firefox will not allow me to cut and paste when I am in this particular site??
    I can cut and paste in Microsoft Word and other programs with no problem. But when I'm on this particular site it's no deal.
    This is very frustrating. What can I do to resolve the problem.

    I've had this happen a couple of times. Seems it just gets a bit borked sometimes.
    Best thing to do is close Pages (or whatever), then do an iOS reset (hold power button then home button till screen goes blank and apple logo comes up and then let go).
    Cut copy paste should work again as normal.
    @michaelq

  • How do you cut and paste tables in and out of Excel from either Mail.app or Outlook 2011?

    When I try to cut and paste a table generated in Excel for Mac into the body of an email the formatting holds but when I send the table is reduced to one column. Same is true for copying from incoming mail into Excel, when I paste into Excel it is reduced to one column rather than keeping the table format. I have tried using mail.app and went out and Outlook 2011 and both programs have the same issue. The reformatting also happens when I forward an email received from a coworker that contains a table, not just on cut and paste operations.
    I need to do this regularly and right now my only option is using my old PC where the cut and paste function keeps formatting between Excel and Outlook just fine. Attaching a pdf or excel file is not an option. There has to be a way to maintain the formatting and being able to extract the tables keeping them intact. Please let me know if you have a solution to maintain this formatting within email programs. Thank you in advance.

    Selecting all does not help - the issue is I need a table within an incoming email to be moved to excel, edited and then pasted back into a new email. "Select All" picks up the email headers, signatures, any messages around the table etc so that doesn't work. Also, as pointed out above Excel doesn't have a select all feature to get the tables back into the body of an email.
    I just tried again going from Excel into Outlook 2011. No luck. All one column down the left side of the email. All columns are removed and text crammed into one column. Just to check I cut from one Excel document and pasted into another and it retained all formating just fine. It is only in and out of Outlook that seems to be the issue.

  • Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Thanks for prompt reply, yes we have tried that but have now closed down the browser we where the photos were.
    We haven't sent up time machine, do you know whether there is any roll-back function on a Mac?
    Thanks

  • Having a problem with dates when I send my numbers doc to excel. dates are all out and that they have to cut and paste individual entries onto their spreadsheet. Any idea how I can prevent this

    having a problem with dates when I send my numbers doc to excel. dates are all out and that they have to cut and paste individual entries onto their spreadsheet. Any idea how I can prevent this.
    I'm using Lion on an MBP and Numbers is the latest version

    May you give more details about what is wrong with your dates ?
    M…oSoft products aren't allowed on my machines but I use LibreOffice which is a clone of Office.
    When I export from Numbers to Excel and open the result with LibreOffice, the dates are correctly treated.
    To be precise, dates after 01/01/1904 are correctly treated. dates before 01/01/1904 are exported as strings but, as it's flagged during the export process, it's not surprising.
    Yvan KOENIG (VALLAURIS, France) mardi 3 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : http://public.me.com/koenigyvan
    Please : Search for questions similar to your own before submitting them to the community
    For iWork's applications dedicated to iOS, go to :
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • Won't cut and paste anymore

    Eversince the Mavericks upgrade, I can't cut and paste in the calandar app anymore. Let me try to explain:
    Every month, I get a new schedule for work, and I have to manually enter it in to my calander app. It then sinks to my phone, ipad and work macbood air. I only have 2 or 3 different catagories that I use for any given day, and I used to just copy one catagory from, say November 14th, and then click on November 29 and paste the same catagory and time. Now it will only paste on the date that I copied from (ie it'll just put another copy of the same job & time on the same day). 
    Is this happening to anyone else, or just me?

    Hi,
    It works as expected for me here on OSX 10.9.
    Best wishes
    John M

  • No cut and past in ichat using jabber for gmail

    Just bought new macbook. I can't cut and paste or click on links during a chat. I use ichat all day at work and need those capabilities to function. any idea on how to resolve this issue?

    Hi,
    I have tested between to Jabber IDs on my two computers using two different Jabber Servers and Copying and Pasting a URL and then sending it worked for me.
    At the second computer it was shown as a Link and opened the web page.
    Have I misunderstood what you were saying or was that what you were trying ?
    The test was iChat to iChat.
    4:38 PM Sunday; November 30, 2008

  • Cut and paste not working in iphoto

    I can't cut and paste between events in iPhoto any longer.  i tried flagging a photo but the add flag item to event was grayed out. how can you move photos between events.  i tried dragging but page didn't scroll very well so was a little inefficient

    I see, in the "Photos" album I cannot cut and paste either. I can cut the photo from the event, but not paste it into a different event, because It is impossible to select the event for pasting in the Photos album.
    @ Terence Devlin, is pasting into an event supposed to work inside the Photos album?
    I can paste into an event in the Events view. And dragging and dropping between events is working well in the Photos view.
    i tried flagging a photo but the add flag item to event was grayed out.
    This cannot work in Photos view, because "Add flagged items to the selected event" requires an event to be selected, an in the Photos album is no selected event. You can create a new event from the flagged photos and drag this event on top of the event where you want them to go.
    So, I am afraid you will have to switch between the Photos album and the Events view to move your photos around.

  • Who else does not have cut and paste, or shift click anymore on Lion?

    I can't cut and paste anything, and shift click doesn't work like it normally should. Shift click is acting like command shift insead of selecting everything between. Please, no ******** answers.

    LordHawks wrote:
    I can't cut and paste anything, and shift click doesn't work like it normally should. Shift click is acting like command shift insead of selecting everything between. Please, no ******** answers.
    You don't have your numbers lock on or a shift key jammed or something do you? I have been using Lion since it was released and have never had nor seen an issue with the keyboard as yet. That's not to say you are not having one. Is it happening in particular programs? Have you installed any third party programs along the line like TypeIt4Me or such?

  • Smartmailbox - cut and paste

    I can't cut and paste info from my smart mailbox into a word document. I want to delete the mailbox, but save the content.  Any ideas?

    I can paste a .jpg object into a Pages document, but can't cut and paste text blocks.   When I select and execute "Cut" (either via keyboard or menu), the "Paste" function does nothing (although it might be inserting a single space character).   This failure to "Paste" also exists in the TextEdit app.
    In Numbers the problem exists both for text blocks and for cells.
    This has happened in the past, but seemed to be corrected with a Restart of the OS.   Not this time.

  • Multiple problems: can't open two windows, browser doesn't close although window disappears, and after working for a while I loose my ability to cut and paste or use drop down arrows

    Maybe two weeks ago I discovered that I could no longer open two windows at a time (I can still open multiple tabs). I am also having problems with cutting and pasting, which is crucial to my on-line job. Plus, when I exit Firefox, it doesn't always shut down, so then when you go to re-open, of course, it won't (unless you go into process and turn it off). I have re-installed multiple times and I have also used restore. Nothing seems to be fixing this and I really, really don't want to use IE, especially for work.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    See also "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * [[Firefox hangs]]
    Maybe also do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • My ical froze and keeps trying to process a cut and paste that I added to the calendar.  I have to force quit but the next time I open it is still frozen.  Can't use at all.  Help!

    My iCal has frozen when I tried to add a cut and paste to the calendar for notes on a meeting I'm attending.  I have to force quit but the next time I open it is still frozen and everything I've tried doesn't erase the message so I can continue using.  Can't use at all.  Help!

    I have the same problem--have you found a solution?

Maybe you are looking for

  • Auto Replace functionality similar to TOAD

    I've played with Raptor 804 for a few hours now. Only a couple things keeping me from being able to move (comfortably) to Raptor from Toad at this point. 1) Bind Variables not remembering values if I run queries repetively. Other posts address that i

  • Disable automatic login

    In my system preferences under Security/User Group settings my diabsle auto login is ticked - I am unable to untick thia box. The system shows I have the hihgest level access admin level and I should therefore be able to untick this box. How do I do

  • Color Profile Mechanics, How does it work?

    When I bring a photo into Photoshop from Lightroom, I have Lightroom set to send it in ProPhotoRGB color space.  If I tell Photoshop to convert it to sRGB,  what actually takes place?  Does changing the color space simply tell Photoshop or any other

  • My blackberry IM messages are being deleted without my o...

    my blackberry IM messages are being deleted without my or the other individual ending the conversation. How do I stop this from happening and can the old messages be retreived?

  • Invalid serial number for instlation

    I am attempting to install Adobe Photoshop Elements 11, will not except the Serial Number on the Box. states Invalid Serial Numver.