473,770 Members | 6,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5411
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/AppleApplicatio ns/Conceptual/SafariJSProgTop ics/Tasks/CopyAndPaste.ht ml#//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
2409
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 use a submit button. like with javascript: <body onload="init()" onDragEnter="setupDrag()" onDragLeave="handleDrop()" onBeforePaste="handleBeforePaste()" onPaste="handlePaste()" >
14
5782
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) property. Make entire blocks and inlines transparent without resorting to transparent PNGs." http://weblogs.mozillazine.org/hyatt/archives/2003_10.html#004249 Now, I have a demo page which works for MSIE 6 for Windows and Mozilla-based browsers but...
4
6016
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 frameset scenario, the framesetting document (top) contains a
7
26999
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
2729
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 'target browser'? I'm having a helluva time with table layouts etc and goin' stir crazy.. Thanks, Paul.
5
2620
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 dynamic levels. I've Googled around a bit and determined that the problem is not so much with Safari as it is with ASP.Net inaccurately determining the browser capabilites for that browser. In the 2.0 Framework it appears that browser caps are...
34
3875
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
4428
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 does not support lots of things (xhtml etcc). However, what puzzles me is that there are some dotnet Framework 2 web sites out there that work perfectly well under Safari, whereas my website does not
1
3123
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 countchar1(txtCharCount) { var data = window.clipboardData.getData("Text"); txtCharCount.value = data.length; return true; }
0
9592
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9425
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10058
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10004
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8886
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3972
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2817
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.