Displaying 20 results from an estimated 10000 matches similar to: "spinner in form tag?"
2005 Dec 24
2
Where can I get a royalty-free/open-source spinner image?
Hi everyone,
Where can I get a royalty-free copy of the spinner.gif or some other
AJAX activity icon? I don''t want to swipe one without asking.
Thanks,
Jason
2010 May 05
6
form remote tag :before=> function problem
Hi I have a strange problem, I am using the below code
form_remote_tag :url => ''/abc/test'',:before => "return hello();",
:update=>''test_categories'' ,:complete => "Element.hide(''spinner'')",
:loading => "Element.show(''spinner'')" do
I am using :before=> function to validate the
2008 Apr 15
4
Best practice for showing ajax loader gif?
what is the best practice for showing animated ajax spinner?
The usual Element.show(''spinner'') has to stick with every form''s
:loading. Is there some easier or light-weight method?
Because I have this page that can contain upto 100 forms. And with all
of those would be 100 hidden spinners.
Please suggest something.
--
Posted via http://www.ruby-forum.com/.
2006 May 04
4
Ajax spinners
Hi all, I''ve been looking for these for quite some time now and I
couldn''t find them with a transparent background and a neutral color,
so here they are, just baked from the oven:
The Mac OS X and Mozilla Spinners (Grayscal and Transparent)
Enjoy
Gael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spinner_mac.gif
Type: image/gif
Size: 2530
2006 Mar 26
4
Updating query results in real time with AJAX
I have the following view template:
<%= form_remote_tag :update => "new_item",
:url => {:action => ''create''},
:before => %(Element.show(''spinner'')),
:success => %(Element.hide(''spinner'')) %>
<div id="new_item">
</div>
2005 Dec 19
4
Observing Ajax Requests?
Is it possible using scriptaculous/prototype to watch out for any
happening Ajax activity, and do something like show/hide a spinner gif
to indicate to the user that there is activity taking place in the
backgound?
Regards,
Michael
------------------------------------------
Michael Roper - Web Developer
WORLDWIDE ONLINE PRINTING AUST/NZ
[T 08 9350 2300] [F 08 9451 6048]
[E
2006 Aug 15
2
Are form_remote_tag and submit_to_remote mutually exclusive?
Do I need to use submit_to_remote in conjunction with or instead of
form_remote_tag? The description in the API docs. is confusing.
Is the combination of form_tag/submit_to_remote valid?
Is the combination of from_remote_tag/submit_tag valid?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2009 Jul 29
6
Doubt in nil object with ajax
hi this is my htnl
<html>
<head>
<%= javascript_include_tag :defaults %>
</head>
<body>
<%= form_tag nil, { :id => ''search_form'' } %>
<%= text_field ''recipe'', ''name'' %>
<%= end_form_tag %>
<div id="recipe">
</div>
<%= observe_form :search_form, :frequency =>
2010 Oct 25
2
form_tag with remote=>true Error during failsafe response:
I am trying to find out why form_tag with remote => true is not
sending an ajax response and only sending HTML. I have started a basic
Rails App with two pages and am following the Railscast 205 UJS
example. Every time I include:-
<%= form_tag homepages_path, :method => ''get'', remote => true do %>
I get from the server(WEBrick):- (Ruby 1.9.2 and Rails 3)
A 500
2009 Sep 17
2
Can i use "form_remote_tag" inside the "form_tag"?
Hi all,
How can i use form_remote_tag inside the form_tag helper .
My application has following view subscribe.html.haml
- form_tag :action => :subscribe do
/other form element
%input{:type=>''radio'', :name=>''tariff_plan_id'', :value=>"monthly"}
%input{:type=>''radio'',
2006 Jul 24
2
:disable_with for button_to ???
With form_tag submit buttons I use the " :disable_with => ''button label while processing'' " option so that visitors with slow connections aren''t able to submit forms twice.
How do I do the same thing with button_to?
I''ve got several pages where there are multiple forms on the page being updated with Ajax so I can''t wrap the whole
2006 Mar 22
2
observe_form without ajax?
This betrays my lack of javascript knowledge, but is it possible to
watch a whole form for changes and activate some javascript when those
changes occur without any remote request?
That is, I want to do exactly what observe_form does, but without the
ajax call actually happening. I realize I could use the form_tag
:onchange parameter, but that seems to be incapable of doing things like
2006 Mar 21
4
Using onSubmit tag in form_tag?
Hi guys,
I have been working on a form that would use javascript to validate the
data before submitting it, and from my view.rhtml I have a statement
like this:
However such a statement generates a HTML tag that looks like this:
<form action="/users/Login?onSubmit=validate%28%29" method="post">
Seems like Rails thinks it is a parameter instead of an option, so
2005 Oct 11
5
show message while loading - ajax
Hello,
Could anybody please tell me how I would show a message or an image while
the ajax request gets processed?
thank you in advance for your help.
this is what I came up with but it doesn''t really work:
function getHTML() {
var url = "./scripts/rfiles.php";
var par = "";
var myAjax = new Ajax.Updater("fm-viewdetails", url, {method:
2006 Jul 06
0
Ajax form results display help
I''m not that familiar with Ajax, so there is a good chance that I''m
doing something incredibly stupid, but here is the issue. I have a
search form that will display results on submit using Ajax callbacks
and cool effects.
Here is the operation that I would like
-User enters data
- On submit of the form, the spinner shows
- If there is an error, the error div is shown and
2008 Jul 14
5
How can i use link_to_remote with in form_for
Hi
anybody plz help me how can i use link_to_remote with in form_for.. i
tried but no luck... if i use form_tag i can able to use link_to_remote
and made ajax call.but i need to use form_for ....can anyone help me how
can i do with this.Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2006 May 14
3
need help for simple form tag (noob)
when the user click on "Search" I would like it to point to
http://curentpage/?filter=searchtext (the filtering code is already
written)
it would look like this:
<%= start_form_tag(url_for_options = {<something>}) %>
<%=text_field (<my_filter>) %>
<%= submit_tag(value = "Search")%>
any idea how to do this?
thanx in advance
2007 Feb 13
1
form_tag only useful for pages with a single form?
Howdy, I''m new to rails and I''m learning form Agile Web Dev with Rails.
It seems all of the examples that use form_tag use it in situations
where the action first creates a new object before doing a
request.post...
If I''m in a situation where I''m managing Roles, Rights, and assignments
of rights to roles, I may want to have one little form with a text field
and
2006 Apr 07
6
ajax loading message
Hello,
I''m looking for some help - I''m having problems in getting the loading
message to disappear - sometimes it disappears, sometimes it doesn''t.
This is the javascript I have:
ajaxContent: function(iTabPos) {
if (isNaN(iTabPos)) return false;
var iTabIndex = this._posToIndex(iTabPos);
2006 Jul 09
6
ajax effects
Hi,
i was wondering if there was some kind of general line of code i could
add to my application, anywhere i suppose, that would generate some kind
of effect to notify the user that an effect is happening...it could be a
box on the top of the screen or something, that would be like the small
bar at the end of the browser that shows the user the status of a
loading page ... i was hoping