Hey there,
input
IE7 Dialog Focus Bug for Hidden Input Fields
- Login or register to post comments
- Read more
- Unsubscribe post
Is it possible to have a narrow TextBox?
The design of one of our applications requires that a certain text box be only wide enough to display a few digits at a time (30px).
There's no problem actually setting the width to 30px but when a user types in the text box, they can only ever see one digit at a time. It seems the rest of the digits are being bumped out of view.
Disabling and enabling html input tag
Situation: The form submit button is at first disabled. Later, it needs to be enabled.
Problem: setAttribute doesn't work as intended.
Additional clarification: In theory, these two lines should work same:
document.addPage.akcija.disabled=false;
dojo.byId("akcija").setAttribute("disabled", false);
In practice, the first one works, the other doesn't. Here are console printouts:
document.addPage.akcija.disabled=false;
dijit.layout.ContentPane crops input
As you see on the linked picture (http://dev.swissunihockey.ch/dojo.png), dojo crops the value of the input "E-Mail". In the first second the page is loaded, everything is displayed - but after less than a second, it crops...
I use dojo 1.0.2.
Any ideas?
Simon
EDIT: this problem affects only FF (Mac & Win) and Safari (Mac, Win not tested). IE 7 works fine...
- Login or register to post comments
- Unsubscribe post
Drag & Drop - update the value of input elements
Hi,
i have some problems with dojo.dnd. I want to implement the Drag & Drop Funtion with JavaScript, so that the dnd items will be generated dynamicly and i can change the positions of them in the container. And now the problem:
when i include some input elements into the items, change the values and move the items, they wont be updated at the avatar. Why? Can someone help me?
Thanks
The Code
index.html
First Widget
Is there a way to handle multiple error messages in forms ?
I have a form with ValidationTextBox inputs like this one :
name="user.email" tabindex="4"
dojotype="dijit.form.ValidationTextBox"
required="true" trim="true"
regexp="[a-zA-Z0-9_\x2D\x2E]+@[a-zA-Z0-9_\x2D\x2E]+\x2E[a-zA-Z]+"
invalidmessage="Invalid email address." />
can't get hello World tutorial working
Hi,
Im following the hello World tutorial and can get it working when i use the "button" tag. When I use an "input" tag for my submit, as quoted from the Hello World tutorial "In this case we've used a button element for the button though we could have used an input element - Dojo will work with either as long as the dojoType attribute is present." , i get an error. Ive tested with at the most basic level (code below) and is get the following error:
_10.getAttribute is not a function
defineResource(Document hwtut.html)manager.xd.js (line 12)
prompt message in a tooltip for TextBox et al.
ValidationTextBox has attribute promptMessage which is displayed in a tooltip when the textbox is under focus. This is quite useful. I was wondering if other widgets in the dijit.form family (e.g., TextBox. DateTextBox, FilteringSelect) have similar functionality. If no, is there a easy way to add it?
thanks
Nilesh
- Login or register to post comments
- Unsubscribe post
