Hello, I have a problem: I've add a Jquery UI drag-n-drop widget to my page, but after that I can't type anything into inputs or textareas.
I use jQuery 1.4.2 and jQuery UI 1.8rc3, and tiny_mce for convert textareas into WYSIWUG editor (I've tried to disable tiny_mce). When I put $("input").click(
function(){
alert('clicked!');
}); - i...
Hey all,
I have an input field and I want to limit it to alphanumerical (A-Z, a-z, 0-9) characters only, with a MINIMUM field length of 5, and a maximum length of up to 15 characters total.
Does anyone know how I can do this using jQuery?
I'm trying to use the jQuery input mask by digitalBush - http://digitalbush.com/projects/masked-i...
Is there a GetLastInputInfo() equivalent that can be used in Linux?
The intention is to detect the last input time (keyboard or mouse) of the user.
Am using python to script the program.
...
I have this code in Python
inputted = input("Enter in something: ")
print("Input is {0}, including the return".format(inputted))
that outputs
Enter in something: something
Input is something
, including the return
I am not sure what is happening; if I use variables that don't depend on user input, I do not get the newline after for...
I feel like this should be obvious to me, but for some reason I can't figure this out. I have a navigation interface with nav bar, tool bar, and primary view. Sometimes the user takes an action that causes a progress indicator to appear in the middle of the view.
While the progress indicator (which is a custom UIView) in spinning in the...
Hey,
I am making an HTTP get request to a website for an android application I am making.
I am using a DefaultHttpClient and using HttpGet to issue the request. I get the entity response and from this obtain an InputStream object for getting the html of the page.
I then cycle through the reply doing as follows:
BufferedReader r = new...
Hi all,
I would like to know how to firstly:
interpret whether certain applications are running and then whether subroutines are running within these applications.
I would also like monitor the system i.e if windows is running, if there are any errors or warnings.
Secondly, I would like to output these status' to a machine via digital ...
We have all seen countless instances of forms with a select drop down having one of it's options as "Other" and on choosing that option, we get to see a input text box (which was hidden all along) asking us to type in our input.
Is there a better way to implement this? Are there plugins out there which will let me do this better? Or ar...
I have a page that creates an associative array, then passes it as a hidden value to a new PHP page. I have a foreach loop waiting to iterate through it but it coughs up an "invalid argument" error, as if the page doesn't know the value it's working with is an array (Despite "print" showing simply "Array"). This is essentially what I hav...
Hi,
Please let me know how do I enable to enter text in input field in IE6 ?
...
Hallo all.
I got this piece of code:
<div>
<input id="id1" name="radioButton" type="radio">
<input type="text" id="idText1">
<p></p>
<input id="id2" name="radioButton" type="radio">
<input type="text" id="idText2">
</div>
When I select the radio id1 I need to disable idText2 and when I select radio id2 I need to d...
hi... i'm writing a code to receive password input. Below is my code... the program run well but the problem is other keys beside than numerical and alphabet characters also being read, for example delete, insert, and etc. can i know how can i avoid it? tq...
string pw="";
char c=' ';
while(c != 13) //Loop until 'Enter' is pressed
{
...
How can I override the input forms that viewing a site on mac adds? It displays like other inputs just fine in windows. Thanks :)
http://i40.tinypic.com/653kts.png
...
I have a page with a form, and on the form are a bunch of input check boxes. In the following page, there's the following code to process the inputs from the page before (which are set as an ID).
<? $field = $this->input->post('measure',true);
$totals = array();
foreach($field as $value):
$query = $this->db->get_where('item...
In a classic Zend Framework MVC setup, there seems to be access to a generic _request object from within the model/view/controller instance as outlined here:
$this->_request->getPost('variablename');
is this request object somehow available in a non-MVC setup as well?
If yes: how would I initialize and access it?
...
Is it possible for python to accept input like this:
Folder name: Download
But instead of the user typing "Download" it is already there as a initial value. If the user wants to edit it as "Downloads" all he has to do is add a 's' and press enter.
Using normal input command:
folder=input('Folder name: ')
all I can get is a blank ...
Hi,
I have the follwing code inside a facelet page:
<h:inputNumber value="bean.property">
<f:convertNumber type="currency" />
</h:inputNumber
The converter is because there can be a kind of default value inside the input field, which comes from the bean property. Everything is rendered correctly. The value inside the input field...
I'm trying to process this array, first testing for the presence of a check, then extrapolating the data from quantity to return a valid price.
Here's the input for fixed amounts of items, with no variable quantity.
<input type="checkbox" name="measure[<?=$item->id?>][checked]" value="<?=$item->id?>">
<input type="hidden" name="measure...
I'm trying to read in the following text from the command-line in Python 3 (copied verbatim, newlines and all):
lcbeika
rraobmlo
grmfina
ontccep
emrlin
tseiboo
edosrgd
mkoeys
eissaml
knaiefr
Using input, I can only read in the first word as once it reads the first newline it stops reading.
Is there a way I could read in them all with...
Unfortunately form.reset() function doesn't reset hidden inputs of the form.
Checked in FF3 and Chromium.
Does any one have an idea how to do the reset for hidden fields as well?
...