Another Firefox Problem

Posted on 2009-05-20
Last Modified: 2013-11-08
I have another problem dealing with Firefox 3.0, and components from the Ext JS Library 2.0.1 (  I have modified a livesearch function from one of the Ext JS tutorials located at and am trying to integrate it with my WordPress website at Once again, it works perfectly well in IE8, Safari, and Mobile Safari.

I have a dynamically generated grid on a page, with editing icons in the Actions column of each row.  The icon specifically designated to edit the record uses a form to open up a popup record editor, whose form definition and image is set within the associative array used to render the grid rows (I've included the php coding for this below).

My problem is that Firefox does not even see the form, while the other browsers do.

Can anyone help me with this?
$data["actions"] = "<form name='Edit" . $data["referral_id"] . "' action='' method='post' onSubmit='return get_popup(&quot;;, &quot;Edit" . $data["referral_id"] . "&quot;, 320, 500)'><input type='hidden' name ='popup' value='true'><a href='javascript:submitform(&quot;Edit" . $data["referral_id"] . "&quot;);'><img src='' alt='Edit this record' class='icon'></a><input type='submit' name='fakeSubmitButton' style='display: none'/><input type='hidden' name='current_user' value='" . $user_ID . "'/><input type='hidden' name='referral_id' value='" . $data["referral_id"] . "'/><input type='hidden' name='date_time' value='" . $data["date_time"] . "'/><input type='hidden' name='user_id' value='" . $data["user_id"] . "'/><input type='hidden' name='firstname' value='" . $data["firstname"] . "'/><input type='hidden' name='lastname' value='" . $data["lastname"] . "'/><input type='hidden' name='address' value='" . $data["address"] . "'/><input type='hidden' name='city' value='" . $data["city"] . "'/><input type='hidden' name='state' value='" . $data["state"] . "'/><input type='hidden' name='zipcode' value='" . $data["zipcode"] . "'/><input type='hidden' name='phone' value='" . $data["phone"] . "'/><input type='hidden' name='terms_conditions' value='" . $data["terms_conditions"] . "'/><input type='hidden' name='initial_purchase' value='" . $data["initial_purchase"] . "'/><input type='hidden' name='recent_purchase' value='" . $data["recent_purchase"] . "'/><input type='hidden' name='commission_latest' value='" . $data["commission_latest"] . "'/><input type='hidden' name='commission_total' value='" . $data["commission_total"] . "'/><input type='hidden' name='status' value='" . $data["status"] . "'/><input type='hidden' name='customer_id' value='" . $data["customer_id"] . "'/>&nbsp;&nbsp;&nbsp;<a href='javascript://' onclick='return deleteRecord(&quot;" . $data["referral_id"] . "&quot;);'><img src='' alt='Delete this record' class='icon'></a></form>";

Open in new window

Question by:OmniUnlimited
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
LVL 75

Assisted Solution

by:Michel Plungjan
Michel Plungjan earned 50 total points
ID: 24438375
Download developer plugin and look at the generated source
I am offline for a while. so I hope Wilq can help
LVL 17

Author Comment

ID: 24438531
YEAH!  I knew you wouldn't let me down!  Thanks mplungjan for the nice tip.  That developer plugin looks pretty nice.  I am especially impressed with the generated source feature.  Sure enough, the form element is not forming for some reason, but it appears it is only happening on the very first row.  The form element appears just fine on the second.  Now, if I can only figure out where this is happening.

Oh wilq32, where are you?  I need your help so bad...
LVL 17

Accepted Solution

OmniUnlimited earned 0 total points
ID: 24453299
OK guys, got it!  Wow, this is truly a learning process for me.  After I reported this problem, my problems with Firefox and Javascript just began to blossom.  I couldn't understand what was going on.  I was looking through some of EE's webpages and I came across some information about page validation.  I ran my page through the validator and you could not believe the amount of errors it found!  Anyway, I corrected all the errors (took me quite a while, I might add) and viola!  The problems with Javascript and Firefox disappeared!

I guess Firefox does not like validation errors.  wilq32, here is one for your records!

You guys have a great day!
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 18

Expert Comment

by:Pawel Witkowski
ID: 24457340
Sorry that I did not respond. I got some holidays with my wife haha ;) But if you still have more problems, well then just create next questions. If I only can  I will help you. Good to hear that right now its working ok! Good luck with coding :)
LVL 17

Author Comment

ID: 24457804
wilq32, you are simply the best!  I hope you and your wife are having the greatest of times.

You deserve it! :)
LVL 75

Expert Comment

by:Michel Plungjan
ID: 24458405
Me too :)
LVL 17

Author Comment

ID: 24465282
Hi guys,

I've got another question if any of you would like to take a look at it.  It's located at

Thanks a million, and have a great day!
LVL 75

Expert Comment

by:Michel Plungjan
ID: 24465294
How to get to the page with the issues? Login needed
LVL 17

Author Comment

ID: 24465590
Hi mplungian!

How are you this morning?  Well I hope.

Username is "test".  Password is "test1234".

Thanks for taking a look at this for me! :)

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Introduction This article is intended for those who are new to PHP error handling (  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question