similar to: RJS, Safari, Error - DOM exception 7

Displaying 20 results from an estimated 700 matches similar to: "RJS, Safari, Error - DOM exception 7"

2005 Jul 19
1
Nested drag and drop rendering issue with ie
First and foremost, excellent library - excellent work. Thank you. Now, here''s what I''m doing: <div id="wrapper"> <fieldset id="page_1"> <legend>Page</legend> <fieldset id="group_1"> Group </fieldset> <fieldset id="group_2"> Group </fieldset>
2006 Oct 11
2
Help please with observe_form - not working
My observe_form is basically totally limp. I think it should update without hitting submit button but even if I hit it , it doesn''t change (doesn''t seem to post the data). Can anyone please take a look and see if I"m doing something wrong. TIA Form: <% start_form_tag({:action => "livesearch"}, :id => "asearch") %>
2006 Oct 12
3
Help with observer_form , javascript error
I''ve set up an observer form, it is not working nor throwing error at least in loading the page. The Firefox javascript console is showing this error: Error: missing } after property list Source File: http://localhost:3000/ajaxsearch/list Line: 165, Column: 45 Source Code: hide(''roller'')}, parameters:''Form.serialize(''asearch'')='' +
2007 Apr 23
3
getElementsBySelector problem in IE
I''m having this problem with IE and getElementsBySelector, but am a relative js novice, so quite possible -- likely even -- that I''m doing something stupid. Either way, a fresh pair of eyes would help. Basically I''m duplicating a fieldset within a form (so you can upload more than one photo). [BTW, the fieldsets have a CSS id which relates to the object id of the
2005 Jul 20
3
examples of drag n drop
Sorry if this sounds cynical, ( i do love script.aculo.us scripts ) , but I am wondering if people know of some good real world examples of uses of drag n drop and sortable lists. such a cute script will likely be *ab*used as much as it is used. obviously the point here is to use script.aculo.us to improve the user interface rather than just have some k00l eFX. e.g. the drag n drop instantly
2009 Feb 15
2
Collapsible Fieldset
Hey there, (First steps in Ruby and Rails...) I''m trying to make a fieldset collapsible, like they are, for example, on many Drupal pages. What I''ve figuared out is the following: <fieldset id="addressdata" class="collapsible collapsed"> <legend> <%= link_to_function("Show/Hide Addressdata") { |page| page[:
2007 Nov 06
2
Why is this view spec failing?
I can''t figure out why I am getting a failure. It renders out fine in the browser. <h1>New member</h1> <%= error_messages_for :member %> <% form_for(:member, :url => members_path) do |f| %> <fieldset> <legend>Member Info</legend> <p><label for="member[first_name]">First Name:</label> <%=
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello, I have a gentoo system that I am trying to remotely develop rails applications on using apache and fcgi. I created the simple hello world example from Dave Thomas'' book to test the system and I receive an "application error" when I try to go to the page. I can startup webrick and use links to view the page just fine, but nothing doing through apache. I have
2010 Aug 17
2
[Form] Method POST & PUT problem
Hello, I have a form that should be a POST method, but Rails insist to put a hidden field "_method" that has the value "put" does anyone knows why? Thanks, David Sousa Controller: ------------------------------- def new @user = @current_user end ------------------------------------------- View: ------------------------------------- <% semantic_form_for @user,
2007 Sep 06
1
semi-nube help request
just to show i''m not a complete dork: i receive emails from the list through gmail and i''ve already searched for the answer to this problem and since i''ve been a member i''ve not received an email about it. Google search results are mixed at best. so this is my problem: i have a form: <div id="container"
2012 Jan 11
4
Observe field with jquery in Rails 3.1
I tries to observe a change in a field with jquery in Rails 3.1 in order to be able to implement two cascading select boxes. A a first step I just try to observe a click in a div using jquery I have the following function in a .js file that is loadedin the head section (fieldset is the id of a div) and is displaying a view with the div fieldset $(document).ready(function() {
2008 Mar 19
6
Back button behavior has changed again in Safari 3.1, after doing a dom update via ajax/RJS
GAH! Here is the firefox behavior, which is perfect: 1) View page 1 2) Update some text by using link_to_remote or remote_form_for, along with an RJS replace or replace_html 3) Navigate to page 2 4) Hit back 5) Page was cached with dom updates, note that the page is show in the same state as it was left Safari 3.0 behavior 1..4) repeat 5) Page reloads, ending up in the state where it was left
2006 Jun 11
2
Finding a record and showing it -- how?
I''d like to prompt a user for the value of a Name field, then display the record. Rails tells me that it cannot do a find without an ID. I guess it must be that I''m not passing back properly the data from the view to the controller. Thanks for the help joshi The find_user.rhtml view: <div class="find-name-form"> <fieldset> <legend>Enter User
2007 Jan 18
7
form_tag broken in Rails 1.2 RC2 or is it me?
I''m using Rails 1.2 RC2 and I''ve got a view that uses form_tag and the form is not being rendered. It''s just not there. My view is this: <div class="box"> <fieldset> <legend>Log in</legend> <% form_tag do %> <div class="row"> <div class="formfield"> <label
2012 Aug 15
0
Devise access customer information without password
I am trying to customize my account with devise. However I do not want to provide a confirmation password on every details. Therefore I have created a new controller has mentionned on the following tutorial: https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password. This seem to work, however i have different sections such has follow
2006 Jan 06
6
HABTM problem not saving all associations
Hello all, I have an Order object that has and belongs to many Products and has and belongs to many Loan Types. This is so I can select multiples of each in my order entry screen via checkbox groups. I''m having some trouble with saving multiple HABTM associations for a single model object; only the first HABTM association declared in the model will save during the initial @order.save
2008 Oct 05
2
create contact form
Hi all I have a regular HTML form that I want to convert into a RoR form Because I do not need to save the data in the database I think I need: - a controller and a viewer - send submitted fields through email <h2>Contact Form</h2> <form action="contact.html"> <fieldset> <legend>Please send your message: </legend>
2009 Mar 26
0
assert2-0.4.6 provides assert_xhtml, an alternative to assert_select
Rubyists: Consider the following monstrosity, coded using assert_select: assert_select "div#logo_box img[src=/0000/0001/logo.gif][alt=My Company]" Now, behold it rewritten to use assert_xhtml: assert_xhtml do div.logo_box! do img :src => /logo.gif$/, :alt => ''My Company'' end end That sample contains more Ruby; it''s not just
2006 Jan 26
3
Help on implementing rails from html with php
Hi guys, just started using rails and is trying to implementing the present html with some rails... However i met this problem when i am trying to port over some php code in html to rails and i cant find any method to successful convert the php codes. Below is a feature i tried to implement in rails way: there are 2 buttons on the html. Besides these 2 buttons is an infobox. So, whenever
2011 May 30
5
rails habtm checkboxes with jquerymobile
Hi guys, I have a habtm association working properly. My application consists of both a desktop and a mobile version. My mobile version is made with jquerymobile and I would like my checkboxes in the edit form to look like the checkboxes shown in http://jquerymobile.com/demos/1.0a4.1/#docs/forms/forms-checkboxes.html. My desktop code is the following: <%= check_box_tag