similar to: OT - Detect selected text with JavaScript

Displaying 20 results from an estimated 10000 matches similar to: "OT - Detect selected text with JavaScript"

2005 Oct 12
2
AJAX and disapear javascript tags
Hello everyone. I''m writing web aplications using AJAX (library prototype and scriptaculous). I have situation that I want to change content of one div in my site. I make ajax request to server and getting new content of that div. The problem is that this div should have javascript code (e.g. looks like that <div><script>js code</script>
2005 Dec 04
5
Javascript Logging
Hello Everyone, Just wanted to find out if scriptaculous has a patch for a error logging class? Currently, I have found 2 javascript logging scripts (outside of scriptaculous). Lumberjack: http://gleepglop.com/javascripts/logger/ log4js: http://jroller.com/page/stritti?entry=logging_in_javascript_log4js Could you guys shed some light on what would be a good logger class to use with our
2006 Mar 14
3
Returning Javascript
I have a page with some links on it that when clicked, loads a "subpage" in a div. This subpage contains some html and javascript. I see how using ajax.updater with evalscripts will run any standalone javascript on the subpage, but I do not have access to any of the javascript functions on that subpage. Is there some way I can make those javascript functions available to the page?
2006 Mar 07
11
maintaining application state/urls
Hi All Not specifically a scriptaculous question, but I was wondering how people were going about maintaining access to their applications via standard urls. Say for example I''ve a shop at www.shop.com, and its pure ajax to load in products. Now customer A wants to show a friend a product on the site - giving him the url www.shop.com and telling him to click on a series of links
2006 Jun 24
10
Looking for Javascript IDE
Hi everyone! I am looking for a good Javascript IDE. Complete code-completion, should understand object oriented models and anonymous functions. Any suggestions? PS: Im on windows. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Mar 07
2
How to sort execution of multiple ajax-calls
Hi, currently I execute 2-3 AJAX-Calls (located at the end of html-body) on loading the page. I run into problems now because they are executed parallel of course :) How can I garuantee that the Calls are executed when the page has loaded completely ? And, more interesing, how can I make one AJAX-Call start when the previous has completely finished ? I''ve read about Effect.Queues - is
2006 Mar 21
16
Javascript Code inside an Ajax response
Hi, i wish to run a function that came inside my Ajax response. I read that i have to use the evalScripts to make this, but still i couldn''t make it work. The error said that my function isn''t declared. I look at the Sergio Pereira tutorial about use the var xxx = function() but still doesn''t work. Someone could help me? In the response this is the code: for (var i =
2006 Apr 10
24
Proposal of "Resizable" javascript library
Hi, All. I''ve developed the small javascript library to make the widgets "resizable". Please try attached file or following URL URL: http://221.112.61.214/~kzk/others/mixi/resizer.html Now I wish script.aculo.us developers to merge this into the "script.aculo.us". Is there any chance of merge? Is this a right place to ask this question? Thanks in advance. Kazuki
2006 Jun 30
7
javascript woes with radio button groups
Ok! So I have this survey project I''m working on where there are a list of questions but only one shows up at a time. That part''s easy. And, it is fully functional as we speak (and I think even ''live'') however..... My boss wants to be able to have the survey go to the next question when a user selects an answer. This part is easy.. except..... IE
2006 Jun 29
1
Javascript Detect - Safari Version
Does anyone know how to accurately check for Safari version number? navigator.appVersion doesn''t work fine - it''s giving me funny results. I want to be able to tell a Safari 1.0 from a Safari 1.3 for my application.
2006 Feb 17
6
Ajax.Updater and loading new javascript functions.
I working on rebuilding my CMS software using AJAX, and have run into a couple problems I cant seem to find the solution to. I am loading up a new component of my system using the Ajax.Updater, and it loads up the HTML fine but as the component I am loading up is fairly complicated I want to load up its relevant javascript functions as well at the same time. I am using the
2006 Jun 25
17
JavaScript Compression
Is there a good windows-based JavaScript compressor which will reliably compress script aculo and prototype? Sam _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Jan 20
2
FireFox JavaScript Console
The new version of Firefox displays a bunch of CSS errors for things that I am forced to use to make IE Windows work... Does any one know a way to get the Javascript Console to only show actual Javascript errors, disabling the CSS errors??? Oh ya, im on OSX. Thanks. ______________________________________________________________________ Alex Duffield . Principal . InControl Solutions .
2006 Mar 17
12
Exception in Javascript console in Firefox 1.0.7
Has anyone else seen this? Error: uncaught exception: [Exception..."Component returned failure code: 0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS) [nsiXPCComponents.lookupMethod]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location:"JS frame :: chrome://global/content/XPCNativeWrapper.js :: anonymous :: line 91" data: no] I got that output to the
2005 Dec 18
3
JavaScript question
Hi guys, I know this is not the perfect place to ask this question, but I''m struggling with object-oriented javascript and event-handlers and you guys are probably the only ones adept enough to help me out with this. I have this calendar code I hate (and still have to maintain ;) and wanted to change it to use object-orientation. So I have written a JavaScript-class called
2006 Mar 17
10
good javascript xml parser
Anyone know of a javascript function that will take an xml document and turn it into an associative array? Basically it would take something like this: <body> <item> <id>1</id> <name>Bob</name> </item> <item> <id>2</id> <name>John</name> </item> </body> And turn it into something like this: {
2006 Jan 29
2
Questions about Sortable javascript
Hi, I''ve been playing with sortable, the demos on script.aculo.us and reading the javascript. I hope I''m not just missing the documentation somewhere but I can''t find it. I want to do something like Sortable for the admin side of an open source ecommerce project I''m working on [1]. I''m relatively new to DHTML but understand the basic ideas. If someone
2005 Dec 28
6
Sudden Javascript Console noise in firefox
I have been using the latest version of Firefox and Scriptaculous for about a week now, with no problems. Now I get a lot of noise in the javascript console out of the blue: http://img481.imageshack.us/img481/7913/screen4nt.jpg -- ============================ Brian Peiris Brampton, Ontario, Canada brianpeiris-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or
2006 Feb 16
2
javascript node with Ajax.Updater
Hi there, im having a problem with the Ajax.Updater, im using the Ajax.Updater to get an divider, inside the div i have a javascript node that i use to do javascript stuff, the problem is when i get the divider i get whole the html but not the javascript node, thats a bug? *anybody know what''s happening?* -- // // Ing. Francisco J. Calderón S. //
2007 Feb 12
18
document "expando" properties broken in Konqueror
I noticed that some of my event handlers and scripts evaluated in ajax responses didn''t work in Konqueror (3.5.5). document.getElementsByClassName is not defined in these contexts. I can work around this, by saving document.getElementsByClassName in a (namespaced) global variable once and reassigning it before each use. Still, this misfeature is annoying and not restricted to this