# "Google Suggest" Style Widget Question

**URL:** https://forum.kirupa.com/t/google-suggest-style-widget-question/233603
**Category:** web dev
**Created:** [July 25, 2007, 12:06pm UTC](https://forum.kirupa.com/t/google-suggest-style-widget-question/233603 "2007-07-25T12:06:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bjitt](https://avatars.discourse-cdn.com/v4/letter/b/c6cbf5/32.png) [@bjitt](https://forum.kirupa.com/u/bjitt)
#### Post date: [July 25, 2007, 12:06pm UTC](https://forum.kirupa.com/t/google-suggest-style-widget-question/233603/1 "2007-07-25T12:06:33Z")

</div>

I’m using the code from this site to create a customized suggest list:  
[http://www.codeproject.com/jscript/jsactb.asp](http://www.codeproject.com/jscript/jsactb.asp)

My question is how can I automatically add a comma after a word/phrase is selected from the suggestion list using javascript, therefore allowing the user to just continue on typing another word…

Javascript being used is located here:  
[http://www.danandsherree.com/actb.js](http://www.danandsherree.com/actb.js)

Thanks, help if you can.
