Hi All,
for one particular reason ( particular div layouts to enable opaque
text on on transparent div), my end form tag is appearing before my
single text box, as shown below :
<div id=''redeem-box''
style=''padding:8px;float:left;''>
<% form_remote_tag(:update=>''yourpoints'', :url =>
{ :controller=>''promotioncodes'',
:action=>''redeem_code''},:method=>''post''
)
do %>
<%= link_to_remote
image_tag(''../images/redeem_code_bttn.png''),
{
:url => {:controller=>''promotioncodes'',:action =>
''checkvalidity'' },
:with => ''code=''+encodeURIComponent(code)
} %>
</div>
<div id=''testa''
style=''width:40%;height:25px;position:relative;top:
37%;left:35px;''>
<%= text_field_tag :code,
params[:code],:size=>''25px'',:style=>''margin-top:5px;height:25px;border-
width:1px;border-color:white;font-size:13px;''
%><p><br></br>
</div>
<% end %>
Source code from mozilla shows clearly that the end form tag appears
before my text box.
And also, I''m forced to use this layout to avoid my textbox from being
transparent.
That''s why I''m using encoreURIComponent in my link_to_remote
tag.
But not functionning right now...
Does anyone know how I can solve this.
Regards,
Joel
--~--~---------~--~----~------------~-------~--~----~
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 group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---