PDA

View Full Version : combo Box an Apple Safari



Nawabu
8 Nov 2009, 2:17 PM
Hi,

I have a little problem with my combo box but only in the Safari Browser. With Firefox or IE everything works fine, but with Safari the combo box sents no value. My combo box has a hidden value wich should be sent and a display value. Heres the code for the combo box:



Ext.onReady(function(){
Ext.QuickTips.init();

var store = new Ext.data.JsonStore({
fields: ['value', 'display'],
url: 'myData/loadData.php?param=integraner',
root: 'data',
idProperty: 0,
autoLoad: true
});

var combo = new Ext.form.ComboBox({
fieldLabel: user',
name: 'username',
id: 'username',
typeAhead: true,
triggerAction: 'all',
lazyRender:true,
mode: 'local',
store: store,
hiddenName: 'name',
//hiddenValue: 'value',
valueField: 'value',
displayField: 'display',
emptyText: 'User eingeben...',
forceSelection: true,
selectOnFocus:true,
applyTo: 'user_search'
});
});


And here is the PHP vode for the form:



<form action="<?php echo $_SERVER["PHP_SELF"];?>" method="POST">
<table>
<tr>
<td><input type="text" id="user_search" name="name" size="30"/></td>
<td>&nbsp;</td>
<td><input type="submit" value="Suchen"/></td>
</tr>
</table>
</form>


It would be nice if someone could help me out. I realy have no idea.

thanks
Nawabu

Nawabu
9 Nov 2009, 12:52 PM
can no one help me here?

Please and thanks
Nawabu