similar to: Using Prototype - Getting Javascript Error - "Object doesn't support this property or method"

Displaying 13 results from an estimated 13 matches similar to: "Using Prototype - Getting Javascript Error - "Object doesn't support this property or method""

2008 Jul 02
2
How to write the method before_destroy and the test
How to write the method before_destroy? Here is my code: def before_destroy errors.add(:isdefault,"Can''t destroy default record") if self.isdefault return false end or I should write it like below? def before_destroy raise(Can''t destroy default record") if self.isdefault end and how to write the test for it -- Posted via
2007 Jun 28
2
img element inside div not accessible with $$() or getElementsBySelector
I can''t access an img inside a div using the $$() syntax. Using getElementsBySelector doesn''t work either. Both return empty arrays. I can access it with getElementById, however. <div id="foo"> <img id="image" src="blah.jpg"> <div id="bar" </div> - Using $$(''#foo img'') returns an empty array - Using
2016 May 05
2
MCJIT - missing DataLayout?
Hi everyone, I was happily using MCJIT for over a year until yesterday when I created a function call with an argument of a struct type. That caused a crash in SelectionDAG around DataLayout::getAlignment(). I remember the noise about the DataLayout started being mandatory. But I cannot find precise information. Should I set the DataLayout in every Module created? Where can I get the
2006 Mar 25
2
Calling an action in another controller
I have two controllers, one for lists and one for list items. When I''m viewing a list I''d like to have a link to create list items within that list. How do I go about calling an action in the listitems controller to create a new item within that specific list? Thanks -- Posted via http://www.ruby-forum.com/.
2007 Dec 15
3
check_box not being checked
I''m new to RoR and I''m having a little problem that I can''t solve. My model is simple. I have Lists and ListItems. I have a view that loops through all the list items, and I put the HTML for the each list item row in a partial called _list_item.rhtml. This is the view, called show.rhtml <ul> <%= render(:partial => "list_item", :collection =>
2008 May 19
0
up/down/delete functions for list items, problem with bound parameters
Hi all, I am dynamically creating an item list with div containers. Because of this dynamic nature, I am using the element.observe method along with the bindAsEventListener() function to bind its execution to within the object that creates the div in the first place. The problem is that the POS argument I am passing along with it is forever being bound to that element. This is causing a problem
2009 Sep 05
5
Filling Wx::ListCtrl with contents
Hi all, I''ve got a question concerning ListCtrl_virtual of wxRuby since I see no way filling the list with dynamic contents. I''m new to Ruby so I maybe have to apologise for my request. The problem is, that I have to define the on_get_item_text(item, col) function. There I would like to use the item and col variables to read data from a two-dimensional array. My very problem
2008 Jul 23
2
Different "printer preference dialog" between windows and samba
---------------------------- OS: CentOS 5.2 Samba: Samba 3.0.28-1.el5_2.1 Printer: HP LaserJet P2105n ---------------------------- I setup a linux print server for windows clients. First I downloaded the printer drivers for windows from HP website (both the Universal Printer Driver PCL6 and the PCL6 driver for P2105 series), and installed them on my windows client, then it created a local printer
2006 Nov 29
12
What's up with the Manager Interface?!?!
The Asterisk Manager Interface is driving me nuts. Whoever wrote it should be drawn and quartered. Sometimes the data comes back separated by \r\n, and sometimes it's separated by \n. The whole thing is completely inconsistent, and trying to write any kind of API for it is -GHASTLY- Doug.
2020 May 08
0
Wine release 5.8
The Wine development release 5.8 is now available. What's new in this release (see below for details): - Support for Plug & Play device notifications. - More support for building with Clang in MSVC mode. - Still more progress on the WineD3D Vulkan backend. - Initial implementation of a GIF encoder. - Vulkan spec update. - Various bug fixes. The source is available from the
2009 Apr 16
1
AMI IAXPeers
Is there any reason why IAXPeers output is different from SIPPeers output? The response has no Eventlist: start Ej. Response: Success Eventlist: start Message: Peer status list will follow Event: PeerEntry Channeltype: SIP ObjectName: 1001 ChanObjectType: peer IPaddress: 192.168.175.1 IPport: 63772 Dynamic: yes Natsupport: no VideoSupport: no TextSupport: no ACL: no Status:
2006 Jun 21
11
scriptaculous question
Hello everybody. I''m wondering if there is away with scriptaculous to update multiple form fields with data after finishing an autocomplete request. Heres an example. Joe BlowSchmoe fills in his name and starts to type in the customer number, he selects the approprate customer number from autocomplete list, and bam the address associated with the customer number is populated into the
2007 Sep 28
0
Wine release 0.9.46
This is release 0.9.46 of Wine, a free implementation of Windows on Unix. What's new in this release: - A variety of fixes to improve Photoshop CS2 support. - More complete support for device installation in setupapi. - New Bidi text implementation that doesn't depend on libicu. - The usual assortment of Direct3D improvements. - Beginning of I/O completion ports support. -