However, I recently installed the official FF3.5 version. If I find that this method does not get a value below it, I will go to the jquery help document. In this document, the reference to select is to use the following method to have a select element on the page, the id is customer. Many Methods on the Internet to introduce the selected value of select referenced by jquery are used:
The Code is as follows:
$ ("# Customer option [selected]"). val ();
This method is used to obtain the value of the selected selcte. I have always used this method, but I recently installed the official FF3.5 version. I found that this method is not worth the value below, so I went to view the help document of jquery, the following method is used to reference the selected select statement in this document:
The Code is as follows:
$ ("# Customer option: selected"). val ();
It is normal to reference it in FF3.5 using this method.