durusmail: quixote-users: get_field() and + symbol
get_field() and + symbol
2007-02-13
2007-02-14
2007-02-14
get_field() and + symbol
Arturo FM
2007-02-13
Hi!
I have a litte problem with the '+' symbol. I use an
AJAX call to send data from JavaScript code to Quixote
code but get_field() function dont' receive a correct
value.

The code in JavaScript:

{..}
http.open('POST', 'buscar_ficha', true);
http.setRequestHeader('Content-Type',
'application/x-www-form-urlencoded');
http.onreadystatechange = handleResponse;

busca_val_enc = escape(busca_val);

params = "&sel_busca=" + selBusca + "&busca_val=" +
busca_val_enc;

http.send(params);
{..}

For example, I send 'hello +' like the 'busca_val'
param and I get only 'hello' the '+' seems to
dissapear.

In my Quixote application:

{..}
pub = get_publisher()
field = get_field('sel_busca')
value = get_field('busca_val')

print value
{..}

It's print only 'hello' but I need 'hello +'.

Can someone help me, please?







______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
reply