473,417 Members | 1,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,417 software developers and data experts.

Safari onPaste

I'm trying to use the onPaste event in a text input, which according to
Apple is supported. However, I get no response in Safari. Firefox works
fine.
May 3 '06 #1
3 5386
VK

Jeff Paffett wrote:
I'm trying to use the onPaste event in a text input, which according to
Apple is supported. However, I get no response in Safari. Firefox works
fine.


You may install Camino from Mozilla Foundation
(http://www.caminobrowser.org) and forget Safari as a nightmare. Just a
suggection.

P.S. Safari differs greately even by minor versions 1.x ... 2.x... from
a complete junk to a tolerable junk. What exact version are you
fighting with?

May 3 '06 #2
Jeff Paffett wrote:
I'm trying to use the onPaste event in a text input, which according to
onpaste is not a valid HTML attribute, support will likely vary in other
browsers too.

Apple is supported. However, I get no response in Safari. Firefox works
fine.


Link to Apple statement? Code snippet? Safari version?

You may wish to let Apple know, there is an ADC article here that lets
you give feedback:

<URL:http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSProgTopics/Tasks/CopyAndPaste.html#//apple_ref/doc/uid/30001234>
Safari is very much a work in progress and has changed significantly
between versions.
--
Rob
May 3 '06 #3
Zif
VK wrote:
Jeff Paffett wrote:
I'm trying to use the onPaste event in a text input, which according to
Apple is supported. However, I get no response in Safari. Firefox works
fine.
You may install Camino from Mozilla Foundation
(http://www.caminobrowser.org) and forget Safari as a nightmare. Just a
suggection.


A pretty stupid one - here's one back: turn on spell checking. What is
the point of such irrelevant, totally useless garbage?

Presumably the OP is writing this for visitors to a web site, not
personal use. Whether the OP runs Camino or not will not magically
imbue Safari with support for onpaste.

Did you test whether Camino supports onpaste? Reality check: Camino
1.0.1 doesn't support onpaste.

<input onpaste="alert('onpaste');">
As for being better than Safari, have you done any comprehensive testing
to determine whether Camino has fewer bugs or better support for web
technologies than Safari? Can you describe any standards-based web
technology that Camino supports better than Safari? And post a test
case or link?

Did you even test the OP's claim that Firefox supports onpaste? I did,
it doesn't work in either Firefox 1.5.0.2 on Windows or 1.5.0.3 on Mac.
I plan to test 1.5.0.3 on Windows soon.

P.S. Safari differs greately even by minor versions 1.x ... 2.x... from
If you think a move from 1.x to 2.x is a minor version change, you
clearly don't understand software version conventions. The difference
between, say, Safari 1.0.3 and 2.0.3 is huge (as expected).
a complete junk to a tolerable junk. What exact version are you
fighting with?


Utterly irrelevant - Safari 2.0.3 doesn't so it is very unlikely that
any other version will either (I didn't test it and don't plan to).
--
Zif
May 4 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: AP | last post by:
LS, Is their a way of using then command 'onPaste' and 'onDragLeave' or an alternative in PHP. Needed to paste a selected text in a textarea and after paste executing a PHP script without to...
14
by: DU | last post by:
According to a recent post, it seems that Konqueror 3.1+ and Safari 1.1 support CSS3 opacity style property under a proprietary name: "Support for the CSS3 opacity (using -khtml-opacity)...
4
by: Bernard | last post by:
Hi, I am suddenly getting Safari script errors with the following user agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.2 (KHTML, like Gecko) Safari/125.8 In a...
7
by: Mark Szlazak | last post by:
Is there anything for Mozilla or Firefox that would be equivalent to IE's onpaste event for a textarea?
4
by: Paul W | last post by:
Hi - can someone point me to info on the issues/resolutions of supporting the safari browser? To help me understand, if I was developing pages in say FrontPage, what attributes would I set for...
5
by: Bill Cohagan | last post by:
I'm having some serious difficulties with my ASP.Net 2.0 app rendering in Safari 2.0.3. The most immediate problem is that the menu control doesn't seem to work at all, particularly the use of...
34
by: Simon Wigzell | last post by:
document...focus() will scroll the form to move the specified text field into view on everything I have tried it with except Safari on the MAC. The form doesn't move. Any work around? Thanks.
21
by: Edward | last post by:
Hi All, I feel frustrated with one of my Customers who wants me to ensure that a dotnet web site I am building for them must be compatible to Apple's Safari browser! Safari is buggy and it...
1
by: amita1227 | last post by:
I am using a asp:textbox and its onpaste event to count the characters in textbox when the user pastes some text in textbox from a word document. the code that i am using is function...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.