Using a string with concatenation
Posted: Mon Aug 01, 2005 7:12 am
Hi,
I have a search engine which searches some words in the database.If it finds something, it creates a list which has checkboxes. And, you check some boxes that you want, and if you want to search more, you clicks the button of "search more", so it adds their id's to a string and search another keyword, and it finds some other results. You choose some, again. After this operation, these chosen boxes's id's must be added to these string, too. But, it does not add them, for each search it makes zero the value of this string.
NOTE: This string is between <script>,</script> tags. Since, it must add the information after onClick operation
How I can solve this problem?
I have a search engine which searches some words in the database.If it finds something, it creates a list which has checkboxes. And, you check some boxes that you want, and if you want to search more, you clicks the button of "search more", so it adds their id's to a string and search another keyword, and it finds some other results. You choose some, again. After this operation, these chosen boxes's id's must be added to these string, too. But, it does not add them, for each search it makes zero the value of this string.
NOTE: This string is between <script>,</script> tags. Since, it must add the information after onClick operation
How I can solve this problem?