similar to: RE: Error: "onclick() is not a function"

Displaying 20 results from an estimated 6000 matches similar to: "RE: Error: "onclick() is not a function""

2005 Oct 17
11
a better question
I''m trying to call a click() event on an <a href> that has an Observable registered for it. Something like: <a href="#" id="toggle_1929">show</a> ... Event.observe("toggle_1929", ''click'', function(event){ Element.toggle ("group_1929"); return false; }); ... $("toggle_1929").click(); //this throws
2005 Oct 13
6
performance
I''ve got a page I''ve implemented a bunch of observables and sortables. There are around 330 items in the list. The Observables (for hide/show of sublists) don''t seem to impact performance, but the Sortables take a very long time to load when the page is refreshed or submitted--even after accounting for the server-side processing and latency. I''ve
2006 Jun 14
3
sortables and onClick events firing
I have a page that I have been tasked with adding sortable support to, and the div elements that are being dragged have a <a href> in them with an onClick handler that opens a new window with a preview. Is there a way to keep that onCLick from firing when a sortable is dropped? Sam D _______________________________________________ Rails-spinoffs mailing list
2006 Jun 30
0
Mongrel-users Digest, Vol 5, Issue 24
>> Can I change my vote to http://samugliestdog.com/Sam162edited.jpg yikes! how''d that get past my firewall? +1 On 6/30/06, mongrel-users-request at rubyforge.org <mongrel-users-request at rubyforge.org> wrote: > Send Mongrel-users mailing list submissions to > mongrel-users at rubyforge.org > > To subscribe or unsubscribe via the World Wide Web, visit
2005 Oct 17
2
triggering event handlers
I''ve registered onClick events I want to trigger from javascript, but can''t seem to find a way to do this. It seems like it should be obvious and easy, but I''m not finding the answer. :-( Thanks, Jamie
2005 Oct 03
3
Sortable and the Server
I want to build a sortable list that updates the server when the item is dropped into its new position. How to create a sortable list is clear, but I''m looking for an example of how to integrate this with the server side. Are there any examples or tutorials around? I''m working in a java environment. Thanks, Jamie
2006 Jun 22
0
Announcing AutoPilot
I''m pleased to announce the ruby gem AutoPilot, which lets you automate Selenium testing from ruby scripts or the command prompt. Currently, it''s working in Mac OS and Windows. See the movies under "Docs" at: http://rubyforge.org/projects/autopilot/ To install: gem install autopilot command line usage: aup Thanks, Jamie Orchard-Hays http://blog.dangdev.com
2006 Jun 13
1
Element.remove parent div
Hi all, Currently I am using Element.remove like so: <div class="blurb" id="drag_1"> <a onclick="Element.remove(''drag_1'');" class="remove"></a> </div> However I would like to just create a function since I''ll be removing multiple DIVs and updating the sortable order. I just can''t get some version
2005 Oct 04
3
serialize()
Near the end of the Sortable.serialize() method, there is a split command that splits on an underscore. What is the convention it''s following here and is it documented somewhere? Thanks, Jamie serialize: function(element) { element = $(element); var sortableOptions = this.options(element); var options = Object.extend({ tag: sortableOptions.tag, only:
2006 Feb 27
0
RE: FW: Calendar widget
Perfect, thanks Marco, great help! Now, why didn''t I think of that? Lol! -----Original Message----- From: Marco M. Jaeger [mailto:mail-yVS5avHIROZWk0Htik3J/w@public.gmane.org] Sent: Monday, February 27, 2006 2:02 PM To: ''www.dhtmlgoodies.com'' Subject: RE: FW: [Rails-spinoffs] Calendar widget Thank you Alf - I appreciate your fast response Marco M. Jaeger | Url:
2009 Feb 17
1
How to show div with radio button onclick
I am trying to get a div to show when a radio button is clicked but the problem is that the div is dynamically named. I am using the normal html for a radio button: <input type="radio" name="edit_option" checked="checked" value="this_appt"> Because observe field does not work well with radio buttons. I have tried adding an onclick with the div id:
2013 Mar 06
2
Refresh a partial onClick using ajax call in rails 3.x
Hi All, I want to refresh a partial onClick, onClick i am making ajax call and getting the data but i am unable to refresh the partial. here is the code IN views: home.html.erb $(document).ready(function() { var currentCellText; $(".inline").click(function() { currentCellText = $(this).text(); $.ajax({ type: ''GET'', dataType: "json",
2007 Feb 03
7
Interesting radio button behavior with "onclick"
Hello: I have radio buttons like this: <% fields_for :goalhist do |g| %> <table> <tr> <td align=left><%= radio_button_tag (''duedate'', 0, checked = false, options = {:onclick => ""}) %> &nbsp;&nbsp;Start now </td> </tr> <tr id="detailed" style="display: none"><td colspan=2>
2005 Jul 08
3
Problem with script.aculo.us 1.0
I just upgraded to the new version and now my storable containers are not working. here is my code. Sortable.create("leadstories", {handle:''handle'',tag:''div'',containment:''leadstories'',onUpdate: function(element) { new save_order(issueId,Sortable.serialize(element)); }}); Sortable.create("rightnav",
2006 Jan 16
2
ruby embedded code replacement for onclick in link?
Is there a ruby embedded code replacement for something like this? <a href="#" onclick="window.open(''http://192.168.78.12:3000/portfolio/show/<%= item.id %>'', ''test'', ''width=660, height=500,resizable=no'')"> <%= image_tag item.image_url, :size => ''200x150'' %></a> Thanks, Dan
2006 Jun 23
0
onclick action for submit_to_remote
http://tr.openmonkey.com/articles/2006/01 says that I can''t use :onclick options for submit_to_remote method in rails from a view. How do I perform javascript validations for such controls supporting Ajax? Regards, Jatinder -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 20
0
text_field_with_auto_complete onclick show dropdown with all options
How could I implement this ... maybe onclick set the value of the text field = '' '' then somehow trigger keydown/up event? Thanks Bruce
2006 Apr 20
0
text_field_with_auto_complete onclick show dropdown with all options
How could I implement this ... maybe onclick set the value of the text field = '' '' then somehow trigger keydown/up event? Thanks Bruce
2011 Jan 18
1
Changing gmap marker icons while onclick
Is there any way to change gmap marker icon while onclick and get back its original icon while clicking another marker or map. Suppose, In my gmap, I''m showing events in different colors(icon''s). while clicking a marker the icon should change to yellow and should get back its original color when clicking another marker on the map. -- You received this message because you are
2008 Jun 30
1
javascript onclick for thumbnails
Hi, i was struggling for a function where only 1 thumbnail should be active and others inactive when clicked on the particular thumbnail. code: 1. view: 2. <script type="javascript"> 3. function PlayVideo_options(videoFile, id) { 4. document.getElementById(id).className = ''video_option active_video''; 5. } 6. </script> 7. 8.