jawahar_otpl
New Member
- Joined
- Mar 28, 2018
- Messages
- 2
Hi,
I need to see the list of companies and associated details when I select a state. Please check the table I have and the desired list.
List I have:
[TABLE="width: 628"]
<colgroup><col><col><col span="2"><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]s1[/TD]
[TD]s2[/TD]
[TD]s3[/TD]
[TD]s4[/TD]
[TD]s5[/TD]
[TD]s6[/TD]
[TD]s7[/TD]
[TD]s8[/TD]
[TD]s9[/TD]
[TD]s10[/TD]
[TD]name [/TD]
[TD]contact person[/TD]
[TD]contact number[/TD]
[TD]website[/TD]
[/TR]
[TR]
[TD]AR[/TD]
[TD]FL[/TD]
[TD]IL[/TD]
[TD]MS[/TD]
[TD]NE[/TD]
[TD]NV[/TD]
[TD]OH[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company1 [/TD]
[TD]name1[/TD]
[TD]number1[/TD]
[TD]website1[/TD]
[/TR]
[TR]
[TD]MA[/TD]
[TD]NV[/TD]
[TD]PA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company2[/TD]
[TD]name2[/TD]
[TD]number2[/TD]
[TD]website2[/TD]
[/TR]
[TR]
[TD]AR[/TD]
[TD]FL[/TD]
[TD]GA[/TD]
[TD]MS[/TD]
[TD]SC[/TD]
[TD]TN[/TD]
[TD]TX[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company3[/TD]
[TD]name3[/TD]
[TD]number3[/TD]
[TD]website3[/TD]
[/TR]
[TR]
[TD]GA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company4[/TD]
[TD]name4[/TD]
[TD]number4[/TD]
[TD]website4[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]FL[/TD]
[TD]GA[/TD]
[TD]MA[/TD]
[TD]NC[/TD]
[TD]NY[/TD]
[TD]TX[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company5[/TD]
[TD]name5[/TD]
[TD]number5[/TD]
[TD]website5[/TD]
[/TR]
[TR]
[TD]FL[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company6[/TD]
[TD]name6[/TD]
[TD]number6[/TD]
[TD]website6[/TD]
[/TR]
[TR]
[TD]AR[/TD]
[TD]GA[/TD]
[TD]MA[/TD]
[TD]MI[/TD]
[TD]NC[/TD]
[TD]OR[/TD]
[TD]WV[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company7[/TD]
[TD]name7[/TD]
[TD]number7[/TD]
[TD]website7[/TD]
[/TR]
[TR]
[TD]MN[/TD]
[TD]ND[/TD]
[TD]WI[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company8[/TD]
[TD]name8[/TD]
[TD]number8[/TD]
[TD]website8[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]LA[/TD]
[TD]MI[/TD]
[TD]NC[/TD]
[TD]PA[/TD]
[TD]TX[/TD]
[TD]WI[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company9[/TD]
[TD]name9[/TD]
[TD]number9[/TD]
[TD]website9[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]IL[/TD]
[TD]MA[/TD]
[TD]NJ[/TD]
[TD]NY[/TD]
[TD]OH[/TD]
[TD]PA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company10[/TD]
[TD]name10[/TD]
[TD]number10[/TD]
[TD]website10[/TD]
[/TR]
[TR]
[TD]DC[/TD]
[TD]FL[/TD]
[TD]GA[/TD]
[TD]AR[/TD]
[TD]MD[/TD]
[TD]NC[/TD]
[TD]SC[/TD]
[TD]TN[/TD]
[TD]VA[/TD]
[TD]WV[/TD]
[TD]Company11[/TD]
[TD]name11[/TD]
[TD]number11[/TD]
[TD]website11[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company12 [/TD]
[TD]name12[/TD]
[TD]number12[/TD]
[TD]website12[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]DC[/TD]
[TD]MI[/TD]
[TD]NJ[/TD]
[TD]OR[/TD]
[TD]TN[/TD]
[TD]TX[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company13[/TD]
[TD]name13[/TD]
[TD]number13[/TD]
[TD]website13[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]LA[/TD]
[TD]NY[/TD]
[TD]OH[/TD]
[TD]TX[/TD]
[TD]VA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company14[/TD]
[TD]name14[/TD]
[TD]number14[/TD]
[TD]website14[/TD]
[/TR]
[TR]
[TD]GA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company15[/TD]
[TD]name15[/TD]
[TD]number15[/TD]
[TD]website15[/TD]
[/TR]
[TR]
[TD]IL[/TD]
[TD]KS[/TD]
[TD]MO[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company16[/TD]
[TD]name16[/TD]
[TD]number16[/TD]
[TD]website16[/TD]
[/TR]
[TR]
[TD]FL[/TD]
[TD]LA[/TD]
[TD]MI[/TD]
[TD]MS[/TD]
[TD]NJ[/TD]
[TD]NY[/TD]
[TD]WA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company17[/TD]
[TD]name17[/TD]
[TD]number17[/TD]
[TD]website17[/TD]
[/TR]
[TR]
[TD]AK[/TD]
[TD]AR[/TD]
[TD]GA[/TD]
[TD]MN[/TD]
[TD]OR[/TD]
[TD]PA[/TD]
[TD]TN[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company18[/TD]
[TD]name18[/TD]
[TD]number18[/TD]
[TD]website18[/TD]
[/TR]
</tbody>[/TABLE]
I need the output to be:
[TABLE="width: 354"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]State[/TD]
[TD]AR[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]name[/TD]
[TD]contact person[/TD]
[TD]contact number[/TD]
[TD]website[/TD]
[/TR]
[TR]
[TD]Company1[/TD]
[TD]name1[/TD]
[TD]number1[/TD]
[TD]website1[/TD]
[/TR]
[TR]
[TD]Company3[/TD]
[TD]name3[/TD]
[TD]number3[/TD]
[TD]website3[/TD]
[/TR]
[TR]
[TD]Company7[/TD]
[TD]name7[/TD]
[TD]number7[/TD]
[TD]website7[/TD]
[/TR]
[TR]
[TD]Company11[/TD]
[TD]name11[/TD]
[TD]number11[/TD]
[TD]website11[/TD]
[/TR]
[TR]
[TD]Company18[/TD]
[TD]name18[/TD]
[TD]number18[/TD]
[TD]website18[/TD]
[/TR]
</tbody>[/TABLE]
Depending upon the state I select from the drop down next to "State", below I need the list of all the companies. Appreciate your help.
Thanks,
Jai
I need to see the list of companies and associated details when I select a state. Please check the table I have and the desired list.
List I have:
[TABLE="width: 628"]
<colgroup><col><col><col span="2"><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]s1[/TD]
[TD]s2[/TD]
[TD]s3[/TD]
[TD]s4[/TD]
[TD]s5[/TD]
[TD]s6[/TD]
[TD]s7[/TD]
[TD]s8[/TD]
[TD]s9[/TD]
[TD]s10[/TD]
[TD]name [/TD]
[TD]contact person[/TD]
[TD]contact number[/TD]
[TD]website[/TD]
[/TR]
[TR]
[TD]AR[/TD]
[TD]FL[/TD]
[TD]IL[/TD]
[TD]MS[/TD]
[TD]NE[/TD]
[TD]NV[/TD]
[TD]OH[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company1 [/TD]
[TD]name1[/TD]
[TD]number1[/TD]
[TD]website1[/TD]
[/TR]
[TR]
[TD]MA[/TD]
[TD]NV[/TD]
[TD]PA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company2[/TD]
[TD]name2[/TD]
[TD]number2[/TD]
[TD]website2[/TD]
[/TR]
[TR]
[TD]AR[/TD]
[TD]FL[/TD]
[TD]GA[/TD]
[TD]MS[/TD]
[TD]SC[/TD]
[TD]TN[/TD]
[TD]TX[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company3[/TD]
[TD]name3[/TD]
[TD]number3[/TD]
[TD]website3[/TD]
[/TR]
[TR]
[TD]GA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company4[/TD]
[TD]name4[/TD]
[TD]number4[/TD]
[TD]website4[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]FL[/TD]
[TD]GA[/TD]
[TD]MA[/TD]
[TD]NC[/TD]
[TD]NY[/TD]
[TD]TX[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company5[/TD]
[TD]name5[/TD]
[TD]number5[/TD]
[TD]website5[/TD]
[/TR]
[TR]
[TD]FL[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company6[/TD]
[TD]name6[/TD]
[TD]number6[/TD]
[TD]website6[/TD]
[/TR]
[TR]
[TD]AR[/TD]
[TD]GA[/TD]
[TD]MA[/TD]
[TD]MI[/TD]
[TD]NC[/TD]
[TD]OR[/TD]
[TD]WV[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company7[/TD]
[TD]name7[/TD]
[TD]number7[/TD]
[TD]website7[/TD]
[/TR]
[TR]
[TD]MN[/TD]
[TD]ND[/TD]
[TD]WI[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company8[/TD]
[TD]name8[/TD]
[TD]number8[/TD]
[TD]website8[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]LA[/TD]
[TD]MI[/TD]
[TD]NC[/TD]
[TD]PA[/TD]
[TD]TX[/TD]
[TD]WI[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company9[/TD]
[TD]name9[/TD]
[TD]number9[/TD]
[TD]website9[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]IL[/TD]
[TD]MA[/TD]
[TD]NJ[/TD]
[TD]NY[/TD]
[TD]OH[/TD]
[TD]PA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company10[/TD]
[TD]name10[/TD]
[TD]number10[/TD]
[TD]website10[/TD]
[/TR]
[TR]
[TD]DC[/TD]
[TD]FL[/TD]
[TD]GA[/TD]
[TD]AR[/TD]
[TD]MD[/TD]
[TD]NC[/TD]
[TD]SC[/TD]
[TD]TN[/TD]
[TD]VA[/TD]
[TD]WV[/TD]
[TD]Company11[/TD]
[TD]name11[/TD]
[TD]number11[/TD]
[TD]website11[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company12 [/TD]
[TD]name12[/TD]
[TD]number12[/TD]
[TD]website12[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]DC[/TD]
[TD]MI[/TD]
[TD]NJ[/TD]
[TD]OR[/TD]
[TD]TN[/TD]
[TD]TX[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company13[/TD]
[TD]name13[/TD]
[TD]number13[/TD]
[TD]website13[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]LA[/TD]
[TD]NY[/TD]
[TD]OH[/TD]
[TD]TX[/TD]
[TD]VA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company14[/TD]
[TD]name14[/TD]
[TD]number14[/TD]
[TD]website14[/TD]
[/TR]
[TR]
[TD]GA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company15[/TD]
[TD]name15[/TD]
[TD]number15[/TD]
[TD]website15[/TD]
[/TR]
[TR]
[TD]IL[/TD]
[TD]KS[/TD]
[TD]MO[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company16[/TD]
[TD]name16[/TD]
[TD]number16[/TD]
[TD]website16[/TD]
[/TR]
[TR]
[TD]FL[/TD]
[TD]LA[/TD]
[TD]MI[/TD]
[TD]MS[/TD]
[TD]NJ[/TD]
[TD]NY[/TD]
[TD]WA[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company17[/TD]
[TD]name17[/TD]
[TD]number17[/TD]
[TD]website17[/TD]
[/TR]
[TR]
[TD]AK[/TD]
[TD]AR[/TD]
[TD]GA[/TD]
[TD]MN[/TD]
[TD]OR[/TD]
[TD]PA[/TD]
[TD]TN[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Company18[/TD]
[TD]name18[/TD]
[TD]number18[/TD]
[TD]website18[/TD]
[/TR]
</tbody>[/TABLE]
I need the output to be:
[TABLE="width: 354"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]State[/TD]
[TD]AR[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]name[/TD]
[TD]contact person[/TD]
[TD]contact number[/TD]
[TD]website[/TD]
[/TR]
[TR]
[TD]Company1[/TD]
[TD]name1[/TD]
[TD]number1[/TD]
[TD]website1[/TD]
[/TR]
[TR]
[TD]Company3[/TD]
[TD]name3[/TD]
[TD]number3[/TD]
[TD]website3[/TD]
[/TR]
[TR]
[TD]Company7[/TD]
[TD]name7[/TD]
[TD]number7[/TD]
[TD]website7[/TD]
[/TR]
[TR]
[TD]Company11[/TD]
[TD]name11[/TD]
[TD]number11[/TD]
[TD]website11[/TD]
[/TR]
[TR]
[TD]Company18[/TD]
[TD]name18[/TD]
[TD]number18[/TD]
[TD]website18[/TD]
[/TR]
</tbody>[/TABLE]
Depending upon the state I select from the drop down next to "State", below I need the list of all the companies. Appreciate your help.
Thanks,
Jai