RE: Controlling the Number of Inputs with a Dropdown

2009-01-18 Thread Adrian Lynch
A simple jQuery script should be ok: script type=text/javascript src=scripts/jquery-1.2.6.min.js/script script type=text/javascript $(function () { $(select[name=numberOfPeople]).change(function() { var numberOfPeopleChosen

Re: Controlling the Number of Inputs with a Dropdown

2009-01-18 Thread Les Mizzell
Adrian Lynch wrote: A simple jQuery script should be ok: This is the first example I've been able to get to work, inlude a dozen or so from Google searches. OK - *now* I see what it's doing finally! I can extend this to do exactly what I want! Thanks very much! My eyes are open a little

Re: Storing HTML code in a MS sql database

2009-01-18 Thread Torrent Girl
Thanks I am creating a content management system so I don't want to strip the HTML. I am also creating a one page site and got the suggestion to add it as plain text from this tut: http://www.easycfm.com/coldfusion/forums/viewmessages.cfm?Forum=10Topic=12469 HTML is just text, so you store

Re: Storing HTML code in a MS sql database

2009-01-18 Thread Mike Chabot
tGirl, I realize that I have no idea what your experience level is or what the requirements of your project are, but I would caution that the idea of a single page site where all the HTML is stored in a database seems like a very bad idea on the surface for the majority of Web sites. I've done a

Re: Graceful Restart of Apache Causes JRun Connector Protocol Error

2009-01-18 Thread John G
I am running the latest stable version of Apache (2.2.3). Although I wasn't able to figure out a solution to this specific issue with JRun I figured out how to basically create a single virtual host that will allow me to do what I need. Basically, it involves using mod_vhost_alias. If anyone

How to: Submitting a form to self

2009-01-18 Thread Fawzi Amadu
I am developing a site to help sell phone cards and I want to have a form that allows the seller to choose the card they want to sell from a list. I want to automatically populate the rest of the form with the relevant information about the card before submitting the complete details for

Re: How to: Submitting a form to self

2009-01-18 Thread Will Tomlinson
How do I get the above section to submit the selected voucher to populate the remainder of the form with the relevant details before I submit the form for processing? TIA Sounds like you could use an onchange event in that select to submit the form. Use that for your cfif to run that query

Re: Storing HTML code in a MS sql database

2009-01-18 Thread Torrent Girl
Why would you not so it this way. This is actually the requirement from my client. it's a simple call to the database with each page request. Why would that be an issue? I am an experienced CF programmer but never built a completely database-driven site. tGirl, I realize that I have no

Re: Storing HTML code in a MS sql database

2009-01-18 Thread Dave Watts
The next most common method of storing HTML I believe is to store it as XML. SQL Server 2005 introduced powerful and fast XML support, although I would suspect this is overkill for what you are trying to accomplish. And of course, this requires that you use XHTML and ensure that your XHTML is