similar to: prototype causing value undefined error

Displaying 20 results from an estimated 3000 matches similar to: "prototype causing value undefined error"

2007 Mar 19
3
jQuery Users...
Any jQuery users out there? I would like to learn more about incorporating jQuery with Rails as the performance seems to be the best of any library I''ve seen and it is great in separating the JScript from the HTML. Any suggestions on where to get started? I''ve read this (http://b.lesseverything.com/2006/12/31/making-jquery-and- prototype-play-nice-in-rails) but was looking into
2009 Feb 26
7
javascript using jQuery.js and prototype.js doesnt work 2get
Hi........ M hving javascript "scripts.js" which uses jQuery.js in rails application. bt when it is used along with prototype.js, one of the javascripts which hs been included first in my application.rhtml fails... Do some1 hv any solution how to make both the scripts work 2gether... I tried using <script> jQuery.noConflict(); </script> bt of no use. problem
2008 Jan 14
13
prototype/script.aculo.us ecosystem
Recently errtheblog (http://errtheblog.com/) put up a nice post about jQuery. Putting aside all the assertions about cleaner code and fewer lines of code than with Prototype, the one thing that struck me from his (and others'') writing and from direct inspection is this: jQuery seems to have a more of an ecosystem surrounding it. That is, more plugins, widgets, locked-and-loaded
2008 Jul 05
3
getting and writing atrr with prototype
Hi i''m learning prototype and i need to know something... Someone knows how to write and get the value of some atribute... i mean like...jquery that uses $(''#sub-div'').atrr(''alt'',''visible); in prototype is there something like that?... I hope you can help me and thanks :D --~--~---------~--~----~------------~-------~--~----~ You received
2009 May 20
2
prototype.js insert issue
Hi, I am trying to use the following lines in my RJS and have a problem page.insert_html :bottom,:list,"<ul>" #some conditions checks page.insert_html :bottom,:list,"<li>Hello item</li>" #some more code to add <li>s page.insert_html :bottom,:list,"</ul>" The problem I am having is the first line <<page.insert_html
2008 May 30
1
Prototype doesn't work if we have swf content on the same page
I having to many troubles with prototype and scriptaculous when i have object tag to embed swf content on webpage. First it conflict with adsense and the page can''t be showed on IE6, fine, i remove adsense banners. But my lightbox galery(maded with prototype) doesn''t work if i had swf content from youtube... Some body can help with this problem? I''m starting hate
2009 Apr 03
2
migrating Samba PDC to a new server
Hi, I'd like to migrate Samba 3.0.24-6etch10 PDC running on a Debian server to a new Ubuntu server. I plan to install Samba 3.0.28a-1ubuntu4.4 on the new server and then copy the files in /etc/samba and /var/lib/samba and copy the related Linux users in /etc/passwd and /etc/shadow. Will it work? Thanks in advance! ----- -- Kent Tong Wicket tutorials freely available at
2009 Nov 10
1
does it make sense to run rsync over ftp (curlftpfs)?
Hi, It seems to work but very slowly. I guess it's because rsync has to read the complete file content on the remote host, so does it make any sense at all to do it over FTP? ----- -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context:
2012 Jun 28
2
Best practice on Javascript and rails
Hi, I get constantly nervy whenever trying to implement any javascript / jquery in rails, basically because I''m not sure where to put things in the project! I know the people at rails have thought long and hard about how to best structure an app, so I''d like to learn the correct way. I''m using rails 3.2, ruby 1.9.3 ///////////// 1st situation - using a gem to include
2011 Sep 01
7
couldn't find file 'jquery' rails 3.1 stable mountable engine
When I create a new engine in Rails 3.1 stable and then access the dummy app or the engine I get an error say that the app can''t find jquery. I''ve created the engine using rails plugin new coffee --mountable I''ve also created a basic controller in the engine and the dummy app. If I remove the javascript include tag, everything works. But with the tag there it just
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
2014 Dec 09
4
NSS update issues.
Ran into a bit of a sticky wicket today. And for reasons that should be obvious it was a bit difficult to google for a solution, so I backed out the upgrade. So I'm hoping someone here has seen and fixed this already. System: CentOS 7, fully updated. After the nss updates in the past day or so, visiting https://www.google.com with Firefox results in the following error screen: Secure
2011 Aug 10
3
javascript_include_tag error
<!DOCTYPE html> <html> <head> <title><%= @title %></title> <%= csrf_meta_tag %> <%= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js", "jquery.rails.js" %> <script type="text/javascript"> ...app/views/layouts/application.html.erb:7: syntax error, unexpected
2010 Jun 02
1
Ajax with JQuery
I have used Ajax link and live validation in index.rhtml Ajax link requires JavaScript "prototype" and live validation requires "jquery". i got "element.dispatchEvent is not a function" on the firebug console when i used "prototype" and "jquery" in same page index.rhtml after i removed javascript "prototype" library, i got "Ajax is
2012 Nov 02
2
jquery error in production precompiled
In my rails project, for production precompile I do : rake assets:precompile RAILS_ENV=production But it not work for jquery. In my firegub console, I got the error “ReferenceError: JQuery is not defined “ at production.rb # Disable Rails''s static asset server (Apache or nginx will already do this) config.serve_static_assets = true # Compress JavaScripts and CSS
2012 Mar 04
5
moving form validation to client-side
Hi I know with javascript we can validate the input of a form on the client, is there an easy way to specify this in rails? I am thinking the javascript code getting generated using some sort of DSL? -- Kind Regards, Rajinder Yadav SafetyNet Test Driven Development http://safetynet.devmentor.org -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Oct 21
20
How to transform my html form into a rails 3 form
Hi, I have the following code working in a rails 3 view, but it is unfortunately not pure rails code! <% @filter1 = "tr.show1,tr.show2" %> <% @filter2 = "tr.show1" %> <% @filter3 = "tr.show2" %> <form> <p> <input type="checkbox" value=<%=@filter1%> onclick="$ (this).is('':checked'')
2011 Sep 07
4
jquery and ajax query in rails 3
hi people I don''t know much about ajax - jquery. And right now I need to use some functionality with them. In a form (sales model) I have the following code: <div> <%= f.label :product_id, "Product" %> <%= f.collection_select( :product_id, Product.all, :id, :name, options={} ) %> </div> <div> <%= f.label :price,
2010 May 19
7
Safari reload
Hi, is tehre any news on the safari reload bug? Maybe a workaround? Mapstraction is sometimes not displayed on reload... regards Henrik
2013 Jan 23
3
footnote:id, colons and jquery
I just received a [bug report] for Python-Markdown complaining that colons are used in the ids of footnotes. For reference, we [output] the same format at PHP Markdown Extra. The general complaint is that the colon in the id attribute (`id="fnref:1"`) causes jquery to choke when referencing that id from javascript because jquery uses colons to indicate pseudo elements (as does CSS). As