Chris Stinemetz wrote:
>>
>> I would bet it's the quotes screwing up the js. Can / are you
>escaping that variable when ajaxing it back?
>>
>> Bastien Koert
>> 905-904-0334
>>
>
>I found a way to make the ajax work with one form. I removed the table
>and the ajax worked just fine. Aparently you
it's (pretty) easy to send two forms at once with jquery nowadays, you just
get all the input of the 2 forms and post them!
function submit2Forms(form1DomId,form2DomId){
$datas={};
$(form1DomId).find(':input').each(function(){
if(($(this).attr('name') &&
$(t
I have a select menu created by a foreach loop. I am trying to
validate that there was a selection made before it is submitted to the
database. But I am not doing something correctly.
Choose...
$value)
{
$selected = '';
if($value == $market)
{
$selected =
On Fri, Aug 12, 2011 at 11:42, Chris Stinemetz wrote:
> I have a select menu created by a foreach loop. I am trying to
> validate that there was a selection made before it is submitted to the
> database. But I am not doing something correctly.
Try using a combination of isset, empty, and is_n
On 12 August 2011 16:42, Chris Stinemetz wrote:
> I have a select menu created by a foreach loop. I am trying to
> validate that there was a selection made before it is submitted to the
> database. But I am not doing something correctly.
>
> onchange="javascript:get(this.parentNode);">
> Choose..
5 matches
Mail list logo