similar to: Radiobutton onclick

Displaying 20 results from an estimated 1000 matches similar to: "Radiobutton onclick"

2005 Dec 29
0
Newbie: Radiobutton onclick
Hi, I would like to make a simple html which displays the contents of a table from a database. So I put radiobuttons near the titles of the columns to note and do a sorting by that column. But I don''t know how to implement that the clicking on one of the radiobuttons make the sorting. The problem is the view part. How to give a radiobutton to make some action on a click by the helper?
2004 Jul 20
7
radiobuttons are weird in 1.2.x series
Hello all, Run groupbox.rb example in any of the two alpha versions and click the radiobutton in the upper right group box (those named Hilvesum 1, Hilversum 2, etc). You''ll notice that once a radiobutton is checked, it remains checked when some other radiobutton is checked. What''s the reason? Thank you. -- Best regards, Yuri Leikind
2006 Mar 02
3
merge with symbol problem
Hi, It''s a little bit annoying to me, I can''t understand the following: If I merge a value to the params hash with: params => params.merge :value => new_value the params[:value] doesn''t change, but if I use string instead of a symbol like: params => params.merge "value" => new_value it works. Somebody plz tell me why... Abbath
2001 Sep 19
2
tcltk: Difficulties creating menus
I am struggling with adding menus to a tcltk application. The following example (from the O'Reilly book on Perl/Tk) works fine: #!/usr/bin/perl -w use Tk; my $mw = MainWindow->new; $menub = $mw->Menubutton(-text => "Color")->pack(); foreach (qw/red yellow green blue grey/) { $menub->radiobutton(-label => $_, -command => \&set_bg,
2007 Sep 19
2
list of checkboxes, radiobuttons
Hello, I need a help for simple problem: i have a model Post, and i have a variable @posts = Post.find(:all) how i can create a list of checkboxes and radiobuttons for this array of posts and get selected checkboxes, radiobutton when submit form? Thank you -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2000 Sep 28
1
tcltk package functionality
Hello, I wrote a function in R which uses tcltk package .... essentially I wanted to give within that function, a widget with 2 radiobuttons to choose between plotting Precip and Temperature plots. After the user has chosen one of the radiobuttons there is another widget that asking him to identify outliers. However, I am having a lot of problems...what R does is evaluate the whole function
2012 Jan 30
1
Visual Basic game
I'm trying to launch a visual basic game,i have all the neccesery libraries installed. On launch i get this Code: err:ntdll:RtlpWaitForCriticalSection section 0x7bcbf8e0 "../../../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 003c, blocked by 0034, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x78037130 "?" wait timed out in thread
2007 Jan 24
7
Differences between assert_tag and assert_select
Hi all, I can't seem to make assert_select work for the more complex cases for me. Here's a sample: # View <%= link_to_remote 'Add new', :url => new_phone_url, :submit => 'phones_head' %> # Generated code: <a href="#" onclick="new Ajax.Request('http://test.host/admin/parties/phone/new', {asynchronous:true, evalScripts:true,
2011 Jul 22
1
tcltk
Hello, I am trying to build some dialog boxes but I am having problems. I'm using R-2.13.1 in Windows 7 I want to have 4 numerical entry boxes and 3 radiobuttons in a row ( 4 rows) for entry data and 2 rows for output with a button for 'compute' and another for ;quit' Can somebody indicate a tutorial or an example with similar type of dialogs? Thanks R.Heberto Ghezzo Ph.D.
2007 Oct 23
1
simple data.frame question
Hi, At first I have to admit that I'm quite new to R and need some basic information. Although I searched the internet and this forum where I found answers to really sophisticated questions, I couldn't find the answer to my really simple one - or I didn't understand it for English is not my mothertongue. I'm using Rpad to simulate a webserver on my PC. Further I've got an
2006 Sep 10
2
Issue with radiobutton and remote_function in IE.
Hi there! I did implemented the radio button with remote_function to update some div via RJS. It works perfect with FireFox, but behaves weird with IE. When I click the radio button it loads data (I see the indicator showing) but not updates the div with info until I click left mouse button anywhere. It''s weird =( Here is the snippet from .rhtml code <td>
2006 Mar 02
0
tcltk error when calling a dialog
Hello; I've got several radiobuttons in tcltk with the following sintaxis: tk2.rd <- /tkradiobutton(/frame4,command=plotDialog1,text="New Q plot", value=2, variable=OUTPLOTtclVar/)/ All the buttons call the same function "plotDialog1". With the objective of call a dialog to select some plotting options. When I select one of the radiobuttons and the windows with the
2006 Jun 07
4
Question: coding protected methods
Apologies first, because I need to ramp up on Ruby and coding Ruby in Rails, however it''s my 3rd day with this beast :) so I''m asking : When I added protected methods to the model before it was like: protected method.................... end Would this be a valid way to write a protected method as well ?: attr_protected :column1, :column2 Perhaps this particular call
2006 Mar 02
17
can''t get rails to connect to mySQL - HELP!!!!!!!!!
Sorry, but this is really NOT as easy as the tutorials/books make out. I''m really struggling at the first hurdle here. And while I''m not a programmer by design I do know my way around most stuff. And if I can''t get this to work I suspect more people will have the same issues. There seems to be too many variables to address. I have winXP, I have ruby and rails all
2010 May 31
2
accessing a data frame with row names
Readers, I have entered a file into r: ,column1,column2 row1,0.1,0.2 row2,0.3,0.4 using the command: dataframe<-read.table("/path/to/file.csv",header=T,row.names=1) When I try the command: dataframe[,2] I receive the response: NULL I was expecting: row1 0.2 row2 0.4 What is my error with the syntax please? Yours, r251 mandriva2009
2004 Nov 23
5
number of pairwise present data in matrix with missings
is there a smart way of determining the number of pairwise present data in a data matrix with missings (maybe as a by-product of some statistical function?) so far, i used several loops like: for (column1 in 1:99) { for (column2 in 2:100) { for (row in 1:500) { if (!is.na(matrix[row,column1]) & !is.na(matrix[row,column2])) { pairs[col1,col2] <- pairs[col1,col2]+1
2010 Mar 16
4
Get content from HTML element in Rails
Hey, I''m looking for a way to get the content of my div in my Rails view. I would like the literal HTML content, so only HTML and no Rails I thought inner_html would work, but I get a RJS exception (TypeError: $("content").innerHtml is not a function) Does anyone know how I can get the content? Thanks! In my controller I use this code: [code] def save_test render :update
2006 Jan 03
0
Automatically mapping content_columns?
Hi all, Quick setup - I''ve got a table Foo. Foo has a foreign key (bar_id) to the table Bar. The Bar table has an "id" and "name" column. Assume a 1:1 relationship. The issue I''m trying to resolve (or rather, be lazy about) is with regards to Foo.content_columns. By default it doesn''t pickup the foreign key. What I''m wondering is if
2009 May 14
2
Function to read a string as the variables as opposed to taking the string name as the variable
I am writing a custom function that uses an R-function from the reshape package: cast. However, my question could be applicable to any R function. Normally one writes the arguments directly into a function, e.g.: result=cast(table1, column1 + column2 + column3 ~ column4, mean) (1) I need to be able to write this statement as follows: result=cast(table1, string_with_columns ~
2006 Apr 12
9
Showing Images from a file store
Hi all. I am wrting a small content management tool for my company and was trying to display some images from our file store shown below. <td> <img src="\\xx.xx.xxx.xx\xx\xx\xxx\abc.gif"/> The app was displaying the image when it is under the \public\images directory. Is there anything special we need to do to get a file from outside the root of the application? Any help