Re: Problem with Pager_Wrapper and firefox????

From: Date: Tue, 13 Feb 2007 23:31:46 +0000
Subject: Re: Problem with Pager_Wrapper and firefox????
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26566@lists.php.net to get a copy of this message
Sorry. I wanted to say "I'm using the SMART function Pager_Wrapper". Not smarty (i don't use the Templates). ----- Mensaje original ---- De: Jandro brozaman <aorviz2002@yahoo.es> Para: "pear-general@lists.php.net" <pear-general@lists.php.net> Enviado: miércoles, 14 de febrero, 2007 0:18:48 Asunto: [PEAR] Problem with Pager_Wrapper and firefox???? Hi all, I have the following strange error/bug/problem (I really don't know).. I'm using the smarty function Pager_Wrapper and I have a javascript error only in firefox (v.2.0.0.1), it runs ok in explorer 7.0. I execute the form and when submit it sends to the page2.php (see below). It show the array with the results ok. But when I try to click in the Next option. The system returns me a javascript error: "form.submit is not a function" But if i run page2.php directly it runs perfectly. I send the data from a form (method post). But the most amazing is that I have changed the query and use a new one without variables and I have the same problem. example of my code: pager2.php <?php include_once('../inc/common_db.inc.php'); require_once 'Pager/Pager.php'; require_once 'Pager_Wrapper.php'; //this file $pagerOptions = array( // 'mode' => 'Sliding', 'mode' => 'Jumping', 'delta' => 2, 'perPage' => 1, 'httpMethod' => 'POST', ); $query = "select * from vr_homes WHERE 1=1"; // no parameters echo $query; $paged_data = Pager_Wrapper_MDB2($mdb2, $query, $pagerOptions); echo "<pre>"; print_r($paged_data['data']); //paged data print_r($paged_data['links']); //xhtml links for page navigation //print_r($paged_data['page_numbers']); //array('current', 'total'); ?> Sorry for my english, i know it's very bad. Thanks for your help ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com

« previous php.pear.general (#26566) next »