similar to: JSLint

Displaying 20 results from an estimated 11000 matches similar to: "JSLint"

2008 Jul 01
4
Positioning Oddities
I''m having some trouble using Element#cumulativeOffset and Element#cumulativeScrollOffset to absolutely position an element right under a link in certain browsers. I made a couple of tests to illustrate the issue, which can be found here: http://www.jeffreykeen.com/sandbox/position. But in summary, I''ve found two cases which seem to be problematic. 1. If the link has a
2008 Apr 21
4
Does String.evalScripts() work on well-formed script tags?
Does String.evalScripts() work when the opening SCRIPT tag of a SCRIPT block contains common attributes? I''ve tried and it does not appear to be working. Here''s an example: <script type="text/javascript" charset="ISO-8859-1" language="JavaScript"> //<![CDATA[ <!-- alert(''look! it works!''); //--> //]]>
2008 May 19
3
Can anyone give a exmple of use Ajax.Response?
hi, everyone , could anyone give a exmple of use Ajax.Response? I can not find a sample in prototype homepage --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from
2009 Sep 20
0
r30 committed - jslint now passing for google and googlev3
Revision: 30 Author: freyfogle Date: Sun Sep 20 06:26:44 2009 Log: jslint now passing for google and googlev3 http://code.google.com/p/mapstraction/source/detail?r=30 Modified: /trunk/build.xml /trunk/source/mxn.google.core.js /trunk/source/mxn.googlev3.core.js ======================================= --- /trunk/build.xml Sun Sep 20 06:13:41 2009 +++ /trunk/build.xml Sun Sep 20 06:26:44
2007 Feb 15
2
ajax.request not working in ie7
it sends the request fine in firefox but it never gets sent in ie7 (im using iewatch). here''s my code: var headers = [''Man'', ''POST http://'' + location.host + ''/something HTTP/1.1'',''MessageType'',''CALL'' ]; var myAjax = new Ajax.Request( url, { requestHeaders: headers ,contentType:
2008 Feb 13
8
comparing ajax.updater div in js
This is really bugging me no matter what I''m trying. In javascript, I''m using the ajax.updater, and it (obviously) writes back out to a div. I want to then compare what was echoed out into this div (which came from the php file I listed in ajax.updater) with a string. test should equal "SomeString" because that is what is being echoed out to
2007 Aug 29
1
Re: using Ajax.PeriodicalUpdater in iPhone
it''s probably the iPhone. I mean, would you *really* want your phone to be connected to the internet all the time? On 8/28/07, richieright-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <richieright-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi, > > I met a strange problems with PeriodicalUpdater in iPhone. This timer > event will last only four or five
2007 Jul 19
0
ASP.NET AJAX Web Services and Prototype Version 1.5.1.1
I wanted to use a web service published with ASP.NET AJAX from Prototype Version 1.5.1.1 It''s easier to call an ASP.NET AJAX web service by using an ASP.NET AJAX page with a proxy class, but I have an application which still has many Classic ASP pages and using Prototype seemed like a better idea than hand coding the the interactions, or figuring out how to include all the right ASP.NET
2008 Mar 21
3
getElementsByClassName
I know this is deprecated in 1.6, but my question is how do I properly use the native browser implementation? Do I need to change my code? I''m having a difficult time finding examples on this. Why is this deprecated instead of incorporated into prototype? Or did I answer my own question... Also, I want to utilize the new document.querySelector. Has some one implemented this inside
2006 Mar 17
2
ajax exception
Hello! This is my first post so hello to the ROR community :) I am implementing an online editor using the prototype.js lib. On one of the ajax.request calls I make something weird happens. In the debugger I get this output: =================== 10:36:04:796 [DEBUG] FileBrowser.onServiceResult > inResult = success 10:36:04:812 [DEBUG] FileBrowser.onServiceResult > inResult = exception |
2007 Nov 07
2
Ajax.Request -post
Hello SpinDoctors, I am fairly new to prototype js framework. I love it. Have various Ajax -get calls... which work wonderful... Suddenly, realised that in one case I have to use ''post'' to overcome the limitation on URL length... Have changed the parameters to suit to ''post'' request, but nothing happens... need your help... function getOptionalGroups(key){
2008 Jun 03
3
Safari and Inheritance.
The following code doesn''t work in Safari, though its working well on FF/IE. We just recently started migrating and we are find issues with Safari 3.X var SipIxView = Class.create({ initialize: function() { } }); var CdrView = Class.create(SipIxView,{ view: function() { } }); I get the following error in Safari. var cdrView = new CdrView(); TypeError:
2008 Apr 21
1
Ajax.request - SOAPAction
If I build my own XMLHttpRequest, I can do the following: this.xmlHttp.setRequestHeader("SOAPAction", ''updateClient''); How can I do the same with AjaxRequest()? var myAjax = new Ajax.Request( this.service, { method:''post'', postBody:soapXML,
2007 Sep 17
5
Script.aculo.us effect queues & Ajax.Updater()
Hey guys, I''m new here and just checked out Prototype with Script.aculo.us and have to say it''s a great experience once you get the concept. However, I''m not very experienced with JS so I''m a bit stuck on something I think is quite easy to solve: What already works: A searchfield is observed by a DelayedObserver, a list of contacts is updated vie Ajax updater.
2010 May 21
0
r83 committed - Making the geocoder pass JSLint
Revision: 83 Author: dezfowler Date: Fri May 21 11:57:43 2010 Log: Making the geocoder pass JSLint http://code.google.com/p/mapstraction/source/detail?r=83 Modified: /trunk/source/mxn.google.geocoder.js ======================================= --- /trunk/source/mxn.google.geocoder.js Wed May 19 16:33:35 2010 +++ /trunk/source/mxn.google.geocoder.js Fri May 21 11:57:43 2010 @@ -28,7 +28,7 @@
2011 Jun 22
0
jslint and carriage returns
Hi, jslint doesn''t seem to like the carriage returns in the mapstraction files. Is there a way around this? I didn''t see an option for it. -Mike
2006 Apr 10
1
RE: Prototype Ajax - How to pass my own params toonComplete ?
You need a closure. onComplete: function (response) { NamedActionResponseHandler(theElement, response); } Is that what you mean? Greg > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Erin Brewer > Sent: Monday, April 10, 2006
2006 Feb 13
2
[PATCH] Allow generic autocompleter (Ajax.Watcher)
Hey. Below is a patch to allow generic Ajax.Autocompleters. Basically it''s for people who wanna be able to watch an input for changes, but don''t want it to pop up an autocompleter box below. Useful for live previews, that kind of thing. Someone''s gonna have to fix the tabstops. I couldn''t be arse to work out how to make vim do the softtabs properly. Spaces for
2006 Feb 21
1
RE: [Prototype] onSuccess Event and, Ajax.Updater bug in IE
Joe, After removing all occurrences of charset=utf-8 from my headers I am still getting the same bug in IE. Currently, it''s Content-Type: text/html Any other suggestion? Nathan. > Message: 2 > Date: Mon, 20 Feb 2006 09:13:57 -0500 > From: "Joe Hudson" <joe-x8g0hQFNjJhWk0Htik3J/w@public.gmane.org> > Subject: RE: [Rails-spinoffs] [Prototype] onSuccess Event
2006 Mar 01
1
prototype.js ajax w/ post - how to send ''+'' character
Hi, I am trying to send input from a form to do a live php boolean search. so an example search string is ''+neoflex +standard +output -green'' the problem is something is filtering the ''+'' and i can figure out to to send it. here is the html and js that i am using. <input type="text" id="prodid" onkeyup="autosearch(this)"