Login Register

change

How to check if the value of a dijit has changed

Every HTML Form Control has a defaultValue Attribute, which stores the inital value of the element (defaultValue for input controles, defaultSelected for Select controls, etc.)

In a Script Form Function, you can check the state of the element with input.value == input.defaultValue. So you can determine, if there is a change in the field compared to its inital value received from the server.

If I youse "simple" form dijits like dateTextBox or timeTextBox I cannot find a similar property to change against modifications of the dijits value.

Anybody can help?

Detecting user typing in TextBox

Is it possible to track the content of a TextBox as it is being filled in by the user, character by character.

FisheyeLite Animation doesn't work after changing data

I am workin on a project for the university with fisheyeLite. I make an sortArray to sort an array alphabetically with onclick "abc". It works and sort the array but after that the animation from fisheye doesn't work matter. Can anybody help me? An also problem is that the animation doesnt work on MS Internet Explorer 8. Thanks a lot for your answers.

Code:

{
jdata:"",
templateString: "

" +
"
abc

"+

Grid: How to handle/undo changes when update fails?

[editor: moving to the appropriate forum…]

I'm using the very sexy dojox.grid.Grid to edit a nice simple table in a PostGreSQL DB.

I'm using edit-in-place with an ItemFileWriteStore.

My update is handled by an "onSet" function.

var grid_staff_updateOnSet = function (item, attr, oldVal, newVal) {
dojo.xhrPost({
url: '/dojo-bin/helper.pl',
load: grid_staff_updateCallback,
error: grid_staff_updateError,
content: { *Parameters as you would expect* }
})
};
dojo.connect(grid_staff_store, "onSet", grid_staff_updateOnSet);

Cahnging properties of HTML elemets online

Hi everybody
I'm a new bee...
I'm sorry if I've initiated a topic unnecessary...
I'm creating an app which has a list of HTML elements like textbox, combo etc.
Then I've a table. I'm able to drag these html elements inside table cells...
but now I want too set the properties for these elements like name,type etc.
How can I set a property of an HTML element in Dijit?
can any body plz help me?
Thanks in Advance.

Syndicate content