Generic Form Replace

    Date: 10/27/05 (Javascript Community)    Keywords: database

    Hello,
    I'm working with a terrible product that sees all commas as a new record even though the data is coming from a freaking database and not a CSV file. Because of this, I have to figure out a way to insert commas after the fact. Thing is, I need this to apply to all the forms and thus I'll have no idea of what the form field names will be. Is there an ultra generic way to say

    In this form.. if there are ANY instances of || please replace it with ,

    So for instance "Bankruptcy|| Finances and Commercial" will turn into "Bankruptcy, Finances and Commercial"

    Thanks for any help or suggestions!

    Source: http://www.livejournal.com/community/javascript/81087.html

« I need a re-primer || Java Script book... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home