search for: javascripting

Displaying 20 results from an estimated 4509 matches for "javascripting".

2005 Aug 10
1
Issues with Canoo WebTest
I''m trying to use Canoo WebTest (based on HtmlUnit) to test my webapp after integrating scriptaculous. While my test passed, I get a nice long exception message which barely makes any sense (see below). I found I could get rid of this message by commenting out line 114 of effects.js: 114 this.timeout = setTimeout(this.loop.bind(this), 10); Any idea of what might be causing
2007 Jan 23
3
Too many session numbers per page request?
If I view the source on one of my pages I see: <script src="/javascripts/prototype.js?1168898271" type="text/javascript"></script> <script src="/javascripts/effects.js?1169242655" type="text/javascript"></script> <script src="/javascripts/dragdrop.js?1169241657" type="text/javascript"></script>
2006 Jun 23
16
Help please-draggable
I asked the other day about this problem but haven''t received a response. Trying again: I just downloaded 1.6 and can''t get a simple draggable to work, which is weird. I know it''s not my browser since the demos are working. Here is my simple code. I''ve also had the "new Draggable" between the select tags. Didn''t change anything.
2007 Oct 27
1
Edge Javascript caching just not working
For some reason, in production, with this one line of code: javascript_include_tag :all, :cache => true I get this: <script cached="true" src="/javascripts/prototype.js?1193454472" type="text/javascript"></script> <script cached="true" src="/javascripts/effects.js?1193454472" type="text/javascript"></script>
2017 Jul 18
3
Creating/Reading a complex string in R
Hi again, Let say I have below string (arbitrary) <html> <head> <script type="text/javascript" <script type="text/javascript"> mystatement('current', {'pac':['']}); mystatement; I want to pass above string to some R variable for further analysis. So I have tried below : String = '<html>
2011 Mar 19
2
I get an error message
Everytime I try to open up a game called Rollercoaster Tycoon 2 I have copied the program files to a thumb drive, I get a popup text box that says the following: <html><head id="AM_Offline_Page"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="am-version" content="6.1"> <script
2014 Nov 27
2
centos.org List of Mirrors & Javascript
Hello, I would like to propose a small change to http://centos.org/download/mirrors/ Currently the mirror list is generated using Javascript but there is neither non-Javascript version of the list nor fallback a message for users without Javascript. It would be great to have non-Javascript version but at least a fallback message "you need Javascript" would greatly improve the user
2006 Feb 03
2
JavaScript Prototype Help?
I have a form with a text area. I want to have an observer watch the text area and update a div with the running count of characters in the text area. I tried "onchange" but that doesn''t update until you leave the text area. I was able to get it working using AJAX, but it''s silly to make a needless round trip to the server, when the page already knows
2006 Jun 16
2
RJS replaces JavaScript?
Hi All, I am currently devleoping a Rails application and I need to do following as part of client side operations, 1. HTML Form validations 2. AJAX I am currently calling Javascript methods from views of my application; I heard about RJS(Remote Javascripts) templates; are the replacing Javascript altogether? can I use RJS for HTML Form validations and AJAX? What I believe is that with RJS
2006 May 02
5
How to call a javascript function from rails view?
Is there a way to call a javascript function from within a rails view? I can''t use the onLoad javascript method inside the <body> tag because I don''t have control over the body tag, it''s in my header. There are several rss feed reading functions that are in the page and I would like to call those functions while the page is being loaded or once it''s
2006 Apr 21
13
Sorttable.js
I have come across this neat Javascript table sorter at http://kryogenix.org/code/browser/sorttable/ It seems straigh forward to use but i cant get it to work. I have included in the head <script src="javascripts/sorttable.js" type="text/javascript"></script> In the View <table class="sortable" id="anyid"> <thead>
2006 May 05
6
RJS implementation question
Why is RJS so dependant on programatic creation of Javascript? RHTML is a great implementation in that it puts HTML first, and Ruby second. I would have thought RJS would be the same way: a .js with ERb helpers for generating Javascript functions. RJS putting Javascript second means: - I have to learn a whole new set of commands to use Scriptaculous. - Developers have to constantly chase the
2017 Jul 18
4
Creating/Reading a complex string in R
Thanks for your pointer. Is there any way in R how to replace " ' " with " /' " programmatically? My actual string is quite lengthy, so changing it manually may not be possible. I am aware of gsub() function, however not sure I can apply it directly on my original string. Regards, On Tue, Jul 18, 2017 at 10:27 PM, John McKown <john.archie.mckown at gmail.com>
2006 Jan 28
2
javascripts
Trying to use auto_complete_for which works fine on my home system. I see that when I use <%= javascript_include_tag "defaults" %> that when used, the webrick reports GET /javascripts/prototype.js GET /javascripts/dragdrop.js GET /javascripts/effects.js GET /javascripts/controls.js but on the system that I am trying to develop on and doing similarly, the webrick only reports
2005 Dec 27
2
can I load javascript inside a ''try'' block?
Ok, I have a need to load the scriptaculous files inside a ''try...catch'' block in order to degrade gracefully on older browsers (IE 5.0 is one I have to support, unfortunately). I tried this: try { document.write(''<script type="text/javascript" src="/javascript/prototype.js"></script>''); document.write(''<script
2017 Jul 18
0
Creating/Reading a complex string in R
Try: String = '<html> <head> <script type="text/javascript" <script type="text/javascript"> mystatement(\'current\', {\'pac\':[\'\']}); mystatement;' To embed a single ' mark in a string delimited by ' marks, you must "escape" them by prefixing them with a back-slash \. R version
2006 Jan 25
3
Application Helper and Javascript
I have a "javascript_include_tag" including a Javascript function. I have a function being invoked via a helper in the same view, which prints out a script tag that uses the javascript function above. Problem is, the function being invoked via the helper can''t find the javascript function included in the "javascript_include_tag". I hardcoded the javascript that
2006 Aug 13
4
Javascript compression / How to hook in to rails development
Hi there, I thought it''s rather neat to use the javascript compression from http://dojotoolkit.org/docs/compressor_system.html This removes javascript comments and renames variables and seems pretty reliable and effective. For example, I keep the original htmlarea.js file from http://xinha.gogo.co.nz/ in a file htmlarea.js.txt and it compresses from 200K to 100K. With gzip it
2005 Dec 12
7
possible opera+prototype bug in evalscripts?
Hi all, I use the ajax updater with evalscripts=true. When I load HTML with included <script> tags, I get this error in Opera 8.51: ------------------- snip ----------------------------- http://ccml.uni-weimar.de/ Timeout thread: delay 10 ms Error: name: EvalError message: Statement on line 258: Illegal use of eval Backtrace: Line 258 of linked script
2005 Dec 05
1
Scriptaculous conflict with TinyMCE
I''m using TinyMCE[1], a popular javascript WYSIWYG html editor. The editor fails to work when I load Scriptaculous before it -- well depending on the browser. I can make my application load the javascript in a different order, but just in case it''s an issue in scriptaculous I thought I''d report. I have a few pages up -- I''d like to find out if anyone else