Displaying 20 results from an estimated 170 matches for "textbox".
Did you mean:
testbox
2008 Mar 07
9
copy & paste event
hi. now I have problem about copy and paste text in my application I
make copy and paste button in toolbar and I have fuction of them but I
don''t know how to make it can copy only selection text and paste into
other textCtrl. see my picture for more info. thank you :)
Attachments:
http://www.ruby-forum.com/attachment/1526/untitled.JPG
--
Posted via http://www.ruby-forum.com/.
2006 Feb 10
8
Prototype Inheritance example
...brary. If someone could
point me to an example it would be a great help. I have looked through the
controls.js of the scriptaculous library and found something like the below
code, but everytime I ran it I would get a constructor error.
Thanks for any help;
Looking for something like:
MyControls.TextBox = Class.create();
MyControls.TextBox.prototype =
{
baseInitialize: function(loadCallback, saveCallback, saveOptions)
{
this.loadCallback = loadCallback;
this.saveCallback = saveCallback;
....
},
Save: function()
{
//do save operation using options
}
};
MyControls.Edit...
2006 Jan 09
4
How to carry parameters to a new page?
Hello,
I have a page where user can register him/herself to the site.
If the user enters something wrong, or leaves blank textboxes, I want to
reload the page and tell the user what went wrong. Also the
textbox-values the user already entered, should be kept in the
textboxes.
For example, in my user-controller:
if @username.length == 0
redirect_to :action => ''registeruser'', :message => "You m...
2006 May 08
4
How to disable textbox in Ruby?
Hi,
I want to disable textbox in my page so that user can not modify its
contents. How can we do that in ruby?
Thanx,
Prash
--
Posted via http://www.ruby-forum.com/.
2013 Nov 14
10
Render to clear textbox
There has to be a better way to do this. What I am trying is not working,
and seems convoluted. Essentially, a controller method is called, and exits
by rendering a partial the purpose of which is to simply clear a textbox in
the view. So I am calling the partial which established the textbox -- but
it doesn''t work (i.e. it doesn''t clear the textbox). Does anyone know of a
simpler way to do this that might work? Thanks, RVic, partial below:
<input id="channel_channelnote_note" name...
2008 Apr 18
5
show sum of textboxes
Hi all,
I have multiple textboxes containing numbers. I want to add up all the
numbers and show the sum. Can I select the textboxes by class and sum
the content?
This also has to happen realtime: when a number is changed ina textbox
the sum should also change.
can this be done?
regards,
Stijn
--~--~---------~--~----~----------...
2011 Nov 01
0
Read/Write textbox in R
I am writing a GUI for my R script. It is a very basic form consisting of
textboxes and buttons.
I tried to run the following example to learn how to read value currently
entered into the textbox:
( it requires tcltk/tcltk2 packages )
# Create the widgets
base <- tktoplevel()
list <- tklistbox(base, width = 20, height = 5)
entry <- tkentry(base)
te...
2008 Mar 31
2
How can I make a textbox uneditable?
I want to make this textbox indeitable but im not sure how to use ruby
to do this can anyone help?
my textbox:
<%= f.text_field :item_name %>
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups &quo...
2003 Dec 23
2
Problems with Ultima Online: Age of Shadows [Textbox glitch + out of memory error]
Hi all!
I was trying to run Ultima Online: Age of Shadows (latest patchlevel after
autopatch), but I have some problems.
The first problem is actually a glitch, in autopatcher, when the textbox is
moved at end, the text is hide, because it moves as first character of the
textbox the after-the-last character of the text in it.
The second is a big problem: when starting the client, it gives an out of
memory error. I can't find where the problem is because I don't know for sure...
2006 Mar 17
3
How to check for presence of particular value entered ?
Hi,
I am entering value in textbox ("name") on form. Now name field in
database is having ''unique'' constraint on it so that no 2 records with
same name allowed in database. Now when I m trying to enter same name
into database from my form I m getting following error.
================================
My...
2006 Feb 07
0
Link_to_remote with dynamic textbox
I''m trying to build a custom spell-checker. When an incorrect word is
found, a select list is populated with suggestions, and when a
suggestion is clicked, a "replacement_text" textbox is populated with
the value. I''d like to be able to use a link_to_remote item to update
the item. However, I can''t figure out how to pass the parameter to my
"replace" action in my controller. I''ve tried:
link_to_remote(
suggest_item,
:up...
2006 Jan 17
0
Dynamically creating textbox in form?
...ny number" of another set of items.
For instance when specifying a product in a table, and this said product
can have a number of ways which it can be delivered, so I will have a
"Add additional delivery method" javascript link, which when clicked
will create an additional set of textboxes for a new "delivery method".
Is it possible to edit _form.rhtml to achieve this effect once I''ve
decided on the javascript code that I''d use to achieve this?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2007 Nov 28
0
dafault value of a textbox prompting user of what to enter
Hi,
I want to create a textbox that will have default text like "enter
author, title or ISDN number " which dissapears of when user types in
something.
Is there default attribute in rails for this? Or DO I need to go JS way?
Regards,
Sandeep G
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------...
2012 Sep 24
1
Adding textbox to multiple panels in lattice
Dear R-users,
I am trying to add some text in a textbox to all panels in the following
example file. Using the panel-function, I can add a white rectangle with
panel.rect but then I have to fit in the text into the box by hand and it
will not automatically be centered. Does anyone know how to add the text
centered with a white box around it automaticall...
2008 Jan 16
4
ActionController::InvalidAuthenticityToken in LoginController
...<div id="login">
<h1>Please Login</h1>
<form method="post" action="">
<p><label for="user_login">Username</label>
<%= text_field "user", "username", :class => ''textbox'', :value
=> '''', :maxlength => 40 %></p>
<p><label for="user_password">Password</label>
<%= password_field "user", "password", :class =>
''textbox'', :value => ''&...
2007 Jun 14
2
A more fancy autocomplete using scriptaculous and ajax
...(some
of) a users name, it pops up the portrait image associated to that
user
on the left hand side, which can then be dragged away in to a
Sortable.Droppable element adding that member to your team...
I can get the results to display, but not where I want them. They are
always in a list below the textbox.
1) possible?
2) Do the results HAVE TO BE in UL / LI format?
3) How Do I get the results to appear on the left in a seperate div
rather than just appearing below the textbox every time.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to...
2010 Jun 01
1
textbox in lattice
Hi,
I want to add a box at the bottom of a lattice window (device/page?).
Lattice has drawn a nice group of panels with all the plots I need. How
do I add my own summary text at the bottom (several lines worth?)
2010 Jun 01
1
textbox in lattice
Hi,
I want to add a box at the bottom of a lattice window (device/page?).
Lattice has drawn a nice group of panels with all the plots I need. How
do I add my own summary text at the bottom (several lines worth?)
2006 Feb 09
6
inPlaceEditor ISSUES!
I have run into a problem that I have never created before. I am
using the scriptaculous inPlaceEditor
If I hit the cancel button, and rehit the editor it then creates two
textboxes, and if I repeat three input boxes, etc.!
Must be stupid simple, but I AM STUMPED!
DECO
2006 Nov 04
4
live search
...ptulous and i am getting the list
the problem is that when i select an item from the list white spaces gets
appended in front " item" of the selection in firefox and in opera
front and behind " item "
i printed the value in console and saw it gives "item" but in textbox after
selection whitespaces gets appended
any idea what can be wrong anyone faced similar problem
or is it that something is wrong the way i have implemented
regards
gaurav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rai...