That's quite a lot of code to read through in an email. Try reducing
your code to the least necessary to exemplify your problem, then
someone might take the time to help.
From what I see:
alert(jQ(option:selected, ModulesListObj).val())
This is catching all the selected options inside
Sorry for the double messages. Actually that could simply be:
alert( jQ(this).val() )
as val() called on a select will return the selected option's value.
On Feb 15, 6:04 pm, Ricardo Tomasi ricardob...@gmail.com wrote:
That's quite a lot of code to read through in an email. Try reducing
your
Actually this:
alert(jQ(option:selected, ModulesListObj).val())
works perfectly right, if there is only one select object on the page.
If there are two or more it always picks up the first one.
On Feb 15, 1:04 pm, Ricardo Tomasi ricardob...@gmail.com wrote:
That's quite a lot of code to read
According to the jquery doc, $('option:selected',
ModulesListObj).val() returns the content of the value attribute of
the first matched element.
U may wish to try something like the following to get the desired array:
$('something', ModulesListObj).map(function(){
return $(this).val();
});
Here is my code:
/**
* Page template part setup div
*/
(function(jQ){
/**
* form state
*/
var STATE = new;
/**
* Request URL
*/
var RequestUrl = rootUrl+/aranAjx.php?mod=pages;
/**
* indicator if there is one
I don't believe that nobody have any suggestion...
6 matches
Mail list logo