search for: btn

Displaying 20 results from an estimated 56 matches for "btn".

Did you mean: bin
2006 Jun 03
12
How to get dynamically created inputs from html form back to rails app
...endChild(node); row.appendChild(data); data = document.createElement("td"); node = document.createElement("input") node.setAttribute ("type","text"); data.appendChild(node); row.appendChild(data); data = document.createElement("td"); btn = document.createElement("button") btn.setAttribute ("name","linkPresentation"); btn.setAttribute ("type","button"); btn.setAttribute ("onClick","linkAnswerToPresentation"); node = document.createElement("img");...
2012 Nov 01
2
SyntaxError in Posts#index
getting this error compile error /Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:5: syntax error, unexpected ''='' ...w Goal", new_post_path, class="btn btn-success" );@output_bu... ^ /Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:7: syntax error, unexpected kDO_BLOCK, expecting kEND ''); @posts.each do |post| ^ /Users/bradwrage/webapps/blog/app/views/posts/index.html.erb...
2007 Feb 27
1
Billing Telephone Number (BTN)
I have Asterisk setup with two PRI's one going to my telco and the other going to a Norstar Meridian system. The Norstar Meridian is sending a BTN number that needs to be passed to the Telco. Is there a way to pass the BTN as a variable in the dial plan? Like CallerID(num)? What is the variable for BTN if so? Many Thanks. -- *** Forrest Beck IAXTEL: 17002871718 jonforrest.beck@gmail.com
2005 Oct 16
1
prototype help needed - how to get started
...say, onmouseover, I like to change e.g. the background-color of the button and onclick, I like to execute a specific function. How would I do that using prototype? Thank you in advance for your help. <div id="fm-navbar"> <ul> <li><img class="fm-btn-home" onmouseover="return escape(this.alt)" src="images/spacer.gif" alt="Top level" title="Top level" width="16" height="16" /> </li> <li><img src="images/btn_spacer.gif" alt="" width=&q...
2006 Apr 17
3
Please help : how to link_to() and css styles ?
Hello, I''m having hard times on a very simple problem : how to provide a css class to a link_to tag ? I''m using this : <%= link_to ''Cancel'', :action => ''list'', :class => ''btn-cancel'' %> and RoR produces this : <a href="/gallery/list?class=btn-cancel">Cancel</a> I''ve read the doc of url_for several times but I still don''t see why it doesn''t work ? Thanks -- Posted via http://www.ruby-forum.com/.
2009 Sep 24
4
Action Controller ::MethodNotAllowed
...iew and publish. the new.html.erb snippet is <% form_for @event, :url => events_path, :html => {:multipart => true, :id => "event_form"} do |f| -%> <%= render :partial => "form", :locals => {:f => f} %> <%= link_to image_tag("/images/btn-cancel.png", :border => 0), dashboard_path, :style => "float:left;" %> <%= link_to_function image_tag("/images/btn-publish.png", :border => 0), "publish_event($(this));", :style => "padding-right:20px;" %> <%= link_to_function i...
2006 Aug 03
5
Multiple Loading events in form_remote_for
Is it possible to have multiple loading events in the params for form_remote_for? I''d like to do this :loading => "Element.show(''form-indicator'') and this :loading => "Element.hide(btn-submit'') Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060803/edb92fda/attachment.html
2007 Apr 27
2
mdiclient windows do not always activate on click
...ple, if you change the mditest.rb example like so... --- mditest.rb 2007-04-18 16:19:59.000000000 -0700 +++ mdi.rb 2007-04-27 14:44:54.000000000 -0700 @@ -134,7 +134,7 @@ scrollwindow = FXScrollWindow.new(mdichild, 0) scrollwindow.verticalScrollBar.setLine(@font.fontHeight) btn = FXButton.new(scrollwindow, TYGER, - :opts => LAYOUT_FIX_WIDTH|LAYOUT_FIX_HEIGHT, :width => 600, :height => 1000) + :opts => LAYOUT_FIX_WIDTH|LAYOUT_FIX_HEIGHT, :width => 100, :height => 100) btn.font = @font btn.backColor = FXColor::White mdichild...
2012 May 24
3
rails ajax issues
...b* <%= form_tag({:controller => ''bpages'',:action => ''add'' }, {:method => :post}) do %> <%= text_field_tag(''Bnum'' ,nil, :id => "bnum") %> <%= submit_tag "Add", :id => "addbtn", :class => "*addsubmit* btn btn-large btn-success" %> <%end%> <div class="adddtl" <strong><%= *@number*%></strong> added </div> Here is my ajax part *header.js* * * $(".*addsubmit*").click(function() { var bnum = $("...
2012 Sep 22
1
formtastic does not save at all
...;Select a date'', :start_year => Time.now.year, :label => "Departure date" %> <%= f.input :weight %> <%= f.input :check_in %> <% end %> <%= f.actions do %> <%= f.action :submit, :button_html => { :class => "btn btn-large btn-primary" } %> <% end %> <% end %> The partials and jQuery ajax functions work properly. But the problem is the clicking the submit button does not do anything at all!!!! If there is an error in saving the data, it should show some kind of message in the conso...
2004 Jun 19
4
FlexGridSizer question
...d def onDoCancel() end_modal(Wx::ID_CANCEL) end end class MyApp < Wx::App def on_init frame = Wx::Frame.new(nil, -1, "Test", Wx::Point.new(10, 100), Wx::Size.new(170,100)) frame.show(TRUE) btn = Wx::Button.new(frame,:btn.id,"OK", Wx::Point.new(10,10),Wx::DEFAULT_SIZE) btn.evt_button(:btn.id){|event| onOK()} end def onOK() begin dialog = MyDialog.new(nil) ret = dialog.show_modal() rescue Wx::messa...
2006 Jan 11
0
RE: Event.observer - unordered list problems
...Event.observe(this, "mouseout", this.mouseOverListener); }, onMouseOver: function (event) { var element = Event.findElement(event, ''LI''); Element.addClassName(element, ''btn-hover''); }, onMouseOut: function (event) { var element = Event.findElement(event, ''LI''); Element.removeClassName(element, ''btn-hover''); }, disp...
2011 Dec 22
1
RGtk2: How to overlay a gtkDrawingArea with a button or any other widget?
...d to put both into a gtkFixed container. But this does not work, no printing occurs. Does someone know a solution? What I tried: w <- gtkWindow() w$setSizeRequest(400,400) fx <- gtkFixed() da <- gtkDrawingArea() fx$put(da, 100, 100) asCairoDevice(da) par(mar=c(0,0,0,0)) plot(1:10) btn.1 <- gtkButton("button") fx$put(btn.1, 200, 200) w$add(fx) Thanks Mark ???????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2006 Jan 11
0
RE: RE: Event.observer - unordered list problems
...Event.observe(this, "mouseout", this.mouseOverListener); }, onMouseOver: function (event) { var element = Event.findElement(event, ''LI''); Element.addClassName(element, ''btn-hover''); }, onMouseOut: function (event) { var element = Event.findElement(event, ''LI''); Element.removeClassName(element, ''btn-hover''); }, disp...
2006 May 30
0
problem with effect toggle - please help
...'*'')).each( function(el) { try { Element.cleanWhitespace(el); } catch (e) {} }); this.bContainer = this.element; this.bContainerId = this.bContainer.getAttribute(''id''); this.bTitle = this.bContainer.childNodes[0]; this.bBtnToggle = this.bTitle.getElementsByTagName(''IMG'')[0]; this.bContentWrap = this.bContainer.childNodes[1]; this.bContent = this.bContentWrap.childNodes[0]; this.originalHeight = Element.getHeight(this.bContentWrap); this.boolUpdate = false; this.btnToggl...
2008 Mar 24
4
SIP carrier billing technicalities
...ID when placing a call, and pass it forward. We can also spoof the DNID also before the call is placed, although I am not sure this is carried forward to the outgoing proxy, using SIP. Do most carriers the carrier just use CallerID as an origination number? As far as I am aware, the concept of a BTN is gone with SIP.... Does this mean its possible to save money on your bill, by modifying CallerID so that the origination number is seen to be a local call? anyone care to comment? Robert
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
...ess %> <%= f.label :telephone %> <%= f.text_field :telephone %> <%= f.label :email %> <%= f.text_field :email %> <%= f.label :description %> <%= f.text_field :description %> <%= f.submit "Send my Mail", class: "btn btn-large btn-primary"%><% end %></div></div> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscri...
2016 Feb 22
4
Windstream SIP Trunk settings
Does anyone on this list use Windstream as a SIP trunk provider? If so, would you mind sharing your peer settings? I'm using asterisk 13.7.2 and can't seem to get the inbound working correctly (using registration). Outbound is fine, but they are seeing an authentication error on their end. Here are my inbound peer settings: username=<accountnumber> secret=<secret>
2008 Jun 12
4
Background thread - entension code - switch contexts
...require ''wx'' require ''cppapp'' #myextension class MFrame < Wx::Frame STEPS = 100 def initialize super(nil,-1,"Title") set_client_size(Wx::Size.new(300,300)) panel = Wx::Panel.new(self) sizer = Wx::BoxSizer.new(Wx::VERTICAL) btn = Wx::Button.new(panel, -1, "Click me") sizer.add(btn, 0, Wx::GROW|Wx::ALL,2) evt_button(btn.get_id){ Thread.abort_on_exception = true #that does not work @th = Thread.new do Wx::Timer.every(20) do Thread.pass end...
2012 Apr 09
0
Autocomplete text-field version of dynamic select menu?
...class="controls"> <%= f.text_field :brand_name, data: {autocomplete_source: brands_path}, :class => ''text_field'' %> </div> </div> <div class="form-actions"> <%= f.submit nil, :class => ''btn btn-primary'' %> <%= link_to ''Cancel'', styles_path, :class => ''btn'' %> </div> </fieldset> <% end %> and in styles.rb (model): belongs_to :brand def brand_name brand.try(:name) end def brand_name=(...