similar to: IE problem with submit_tag

Displaying 20 results from an estimated 10000 matches similar to: "IE problem with submit_tag"

2007 May 15
5
Problem with RJS and/or Prototype.js =>ResponseText is blank
Hi, I''ve got a real head-scratcher. I''ve got a standard Ajax form using form_remote_tag, which calls a controller action which adds a comment and then sends back some JS via RJS which updates a few items on the page. It did work fine but (and I''ve no idea what has happened) now it doesn''t. It calls the controller action but gets an empty response back and
2010 Jul 30
2
:disable_with combined with Ajax form: Possible?
Hi there, I''m trying to have an Ajax form with a submit button that has the :disable_with feature, but the submit button does *not* disable... I tried like this: = = = <% form_remote_tag :url => { :controller => ''profiles'', :action => ''update'' }, :method => :put do -%> <%= submit_tag ''Save'', :disable_with
2006 Aug 30
10
respond_to not detecting JS turned on. form_to_remote problem?
I''m trying to use respond_to to redirect visitors who have JS turned off to a different page. The problem I''m having is that respond_to is sending *everybody* there. It''s not recognizing that JS is turned on in the browser. The wanted_html.rhtml file below is rendered whether I''ve got JS turned on or off. I''ve looked at the Accept headers being sent
2010 Jan 20
5
disable submit_tag after click
This code disables the ''Save'' button once clicked, but doesn''t seem to send the form data. <%= submit_tag ''Save'', :class => ''submit'', :onclick => "document.getElementById(''save_button'').disabled=true;", :id => "save_button" %> This code sends the form data and a record is created,
2008 Mar 10
6
Probably OT, but CSS Help?
Ok I know this is off topic, but since you guys are usualy so helpful, I thought I''d try here first. Building a Rails App and one of the things we''ve done is put a CSS class of; * { font-family:"Lucida Grande",verdana,arial,helvetica,sans-serif; margin:0pt; padding:0pt; } Now the problem is that the padding setting, for one reason or another is killing my select
2011 Jun 30
3
IE 8 is not running in Mac OS X intel base
I have installed the IE8 through winebottler. But I could not browsing through the IE8. No pages are opening.
2010 Aug 08
3
ie 8 and LocalHost
I just installed IE8 with Wine ... and when i launch iexplorer I get to the WineHQ site without toolbar. I would like to connect to "http://localhost:8081/init.do (http://localhost:8081/init.do)" ... How can I change the default page, and How can I switch on the toolbar thanks !
2008 Dec 31
7
Understand submit_tag
Hi everyone, I was following the book Agile Web Development with Rails 2Ed. by Dave Thomas. So, at some part of my studies, I decided to try to create my own application based on what I''ve learned... Now I''m in trouble in a simple form. I tried to create a form to register new users. I''m sending attached the files that I created for this. but my view don''t
2009 Oct 19
1
submit_tag or f.submit
Hello all, I am pretty much new here, trying to move to RoR from .net world. I will appreciate if anyone clarifies this for me. Most of books use "submit_tag" in new or edit views, but I see Rails API web documents use "f.submit" instead. I also see Agile Web Development using RoR 3rd Edition use the same "f.submit" instead of "submit_tag." Which way is
2006 May 22
2
Submit_tag question
Can I pass additional parameters when using a submit_tag? Is this legal? <%= submit_tag ''Save'' , { :editfacility => params["editfacility"] } %> When I do this, the "editfacility" parameter is always lost. I have a feeling I''m missing something basic... Thanks, Marcus -------------- next part -------------- An HTML attachment was
2009 May 24
1
is f.submit in a form_for newer than submit_tag?
some books or even the rails api uses form_for ... ... submit_tag ... end and i found that the Rails 2.3.2 Scaffold uses f.submit "Go" instead... and this is not in the rails api doc. Is this a new addition and is it suppose to replace submit_tag? -- Posted via http://www.ruby-forum.com/.
2007 Sep 04
2
How can i add a confirmation dialog to a submit_tag?
When i use button_to or link_to, i can easily request a confirmation dialog with (for example) <%= button_to "Delete this story", { :controller => "story", :action => "delete", :id => @story.id }, :confirm => "Delete story: are you sure?" %> I also want to do this for the submit buttons on my forms, which are
2009 Jan 08
4
Problem with disable_with
Hi Group, I have a registration.html.erb page with the following JavaScript at the top which I use to validate form fields: <script type="text/javascript"> <!-- function validate(){ if ((document.myForm.email_projectname.value=="")|| (document.myForm.email_projecttype_id.selectedIndex<1)|| (document.myForm.email_region_id.selectedIndex<1)) { alert
2006 Jul 06
7
form_remote_tag submitting to an rjs file.
I have the following form that I am trying to use, but for some reason, the form gets submitted with out the params values. <%= form_remote_tag(:url => { :action => :add_item_to_order }) %> <tr> <td> <%=collection_select(:order_item , :item_category_id, @item_categories, :id, :name)%> </td> <td> <%= text_field
2006 Jul 14
3
Rails newbie: How does the submit_tag work?
I would appreciate any and all input. The Agile book is not useful in this context. :o( As near as I can tell, it doesn''t work at all. I would expect that clicking on the [Next Question] button in the browser would fire the next_question method in the current controller. Instead, it (apparently) does nothing. The tag in question <%= submit_tag ''Next
2011 Oct 07
0
will_paginate + RJS error
Hi there! I need some help, I''m new to rjs + will_paginate and don''t know how to solve this problem. The application apparently is working fine, the partial is rendered by the javascript, the pagination works fine, but sometimes, when I hit the next page number or " next >>", it reders the code below. Im using rails 2.3.8, ruby 1.8.7. and will_paginate 2.3.15
2006 Feb 27
2
submit_tag
How can i use the submit_tag method (from: actionView::FormTagHelper) to create various submit buttons and chose the right action in accord to the button that i pushed? -- Posted via http://www.ruby-forum.com/.
2006 Oct 19
1
link instead of submit_tag?
How I replace: <%= submit_tag "Search" %> with a text link? (like link_to or so?) Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this
2009 Apr 19
1
Overriding html generated for submit_tag and selected links
Hi, Probably something simple, but I''m trying to change my submit_tag and other buttons to CSS based buttons based on the article at http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html Basically this needs the following HTML markup: <a class="button" href="#"><span>Button Text</span></a> So, the question is how can
2007 Jun 26
3
what is the :or parameter in a submit_tag ?
I read the following tag in teh Beast example <%= submit_tag''Login'', :or => link_to_function(''forgotten password'', "$(''reset-password'').toggle();") %> I understand the link_to_function, but what is this :or parameter used for ? the link doesn''t appear, so it cannot be used... thanks for your lights kad --