Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by joelxez

  1. joelxez

    Select Box

    try this <cfquery name="Author" datasource="exercises"> SELECT * FROm Authors </cfquery> <script> function ShowAuthor(obj) { <cfloop query="Author"> if(obj.value=="<cfoutput>#Au_ID#</cfoutput>") <cfquery name="GetAuthor" datasource="exercises"> SELECT * FROm tbbooksauthor WHERE...
  2. joelxez

    populate related select box.

    hi experts, I have a sample on how to populate related two select box by populating the next select box based on my selected value. but what i want to know is to put an action so that the value will pass to another page after clicking submit button, i heard this can be done in javascript. Any...
  3. joelxez

    save as html

    try this: <cfsavecontent variable="HTML"> <cfinclude template="myfile.cfm"> </cfsavecontent> <cffile action="WRITE" file="c:\test.html" output="#HTML#"> Joel
  4. joelxez

    Checked at least 1 checkbox on submit

    thanks guys for the help.
  5. joelxez

    Checked at least 1 checkbox on submit

    hi vbkris it seems repeated alert messages is working.. jowel,
  6. joelxez

    Checked at least 1 checkbox on submit

    hi experts, i have script, it works only if there are more than 1 checkbox. But it doesnt work if there is only one checkbox present. Any one who can figure out? function validateForm() { obj = document.formname.elements("chkbox"); for (i = 0; i < obj.length; i++) {...
  7. joelxez

    get name of radio in form dynamically

    hi experts, any one who can correct this..... Element ITEMS is undefined in a Java object of type class [Ljava.lang.String; referenced as <cfoutput query="products"> <tr class="maintxt" align="center" bgcolor=""> <td><input type="radio" name="items#customertransactionID#"...
  8. joelxez

    Insert from array form field.

    hi experts, i have form with array fields. How do i set my query to insert value to table? <form method="post" action="insert.cfm"> <input type="Text" name="t" value="a"> <input type="Text" name="t" value="b"> <input type="Text" name="t" value="b"> <input type="Submit" name="submit"...
  9. joelxez

    count number of columns in a table

    great, tanx ecobb
  10. joelxez

    count number of columns in a table

    hi experts, any tips on how to count number of columns in a table? j
  11. joelxez

    looping through form elements

    Try this one. <CFFUNCTION NAME="FilterBlank"> <CFARGUMENT NAME="fnVar"> <CFARGUMENT NAME="fnString"> <CFARGUMENT NAME="dotrim"> <CFIF dortrim EQ Yes> <CFOUTPUT> #IIF(fnVAr EQ "", DE("fnString"),DE("fnVAr"))# </CFOUTPUT> </CFIF> </CFFUNCTION> Joel
  12. joelxez

    delete duplicate vaues in list?

    Hi experts, Any idea/code who can share with us on how to delete duplicate values in list? SAMPLE. List: john peter dave jason peter joel john OutPut: john peter dave jason joel
  13. joelxez

    ASP paging to CFM

    Hi PushCode, can u send me an example of this? joelxez@yahoo.com Joel,
  14. joelxez

    ASP paging to CFM

    Anyone who could help me to convert this to cfm? <html> <head> <TITLE>Page</TITLE> < </head> <% 'Constants Const MIN_PAGESIZE = 5 'Minimum pagesize Const MAX_PAGESIZE = 20 'Maximum pagesize Const DEF_PAGESIZE = 10 'Default pagesize 'Variables Dim strSearch Dim strURL Dim objCn...
  15. joelxez

    cfloop with table?

    it seem like same output again.

Part and Inventory Search

Back
Top