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!

Search results for query: *

  • Users: newbby
  • Content: Threads
  • Order by date
  1. newbby

    custom tag

    All, Anyone have any ideas to wrapping a custom tag on a javascript event handler. Using CF 6. eg: If I click on a link/image, the onclick event would trigger the custom tag to fire. If the link is not clicked the custom tag is not triggered. Thanks
  2. newbby

    multi line commenting

    All, How can I achieve a multi line commenting in XML. I am aware in XML single line comments start with, <!-- my comments --> I want to know how to achieve a multi line comments <!-- first line comment second line comment Third line comment -->. Thanks
  3. newbby

    validate

    Hi, I have a table containing information of URL's. Before outputting the same through a .cfm file, Is there a way to check if these URL's are valid and donot return any 'page not found' or '404 errors'. My goal is to output only those URLs that donot result in any errors. Thanks
  4. newbby

    XML

    Hi, I have a well formed and valid XML doc. Can anyone guide me to output the same using CF. I am using CF 6.0 and MX dreamweaver 7/8. eg: <employees> <employee ID="12345"> <firstname>FName1</firstname> <lastname>LName1</lastname> <dept>DEPTID1</dept> </employee> <employee ID="67890">...
  5. newbby

    World time zone

    All, Can anyone point me where I can get a table that provides me with the information on countries and their time offset from Greenwich time. This should also take care of the daylight savings time. Thanks
  6. newbby

    Duplicate array values

    All, I have a single dimension array, populated with first name from a query. How can I make sure that there are no duplicates in the array.(retain one value and discard duplicates). <cfset myArray = ArrayNew(1)> <cfset myArray= #qry.FirstName#> <cfoutput> <cfloop from="1"...
  7. newbby

    Capture User information

    Hello, Is there a way to capture the user information as found under Ms Word--tools--options--user information. I would then like to use this information elsewhere. Thanks
  8. newbby

    duplicate value

    All, I have a variable that holds a comma delimited list of upto 5 numbers.How can I check that the numbers are not duplicated. eg: the below is a good set <cfset varMyNumbers = "12,43,55,76,44"> the below is not a good set <cfset varMyNumbers = "12,43,55,76,43"> (43 is duplicated) Thanks
  9. newbby

    Select box, form validations

    Hi, Please help me figure, how to write this form validations in javascript. when a user selects the value "ON" from a select drop down list, I have to figure that the sum of all the intWorkDone should be <=200. <form action="update.cfm" method="post"> <cfoutput> <cfloop from="1"...
  10. newbby

    CF and javascript

    Hi, Please help me figure, how to write this form validations in javascript. when a user selects the value "ON" from a select drop down list, I have to figure that the sum of all the intWorkDone should be <=200. <form action="update.cfm" method="post"> <cfoutput> <cfloop from="1"...
  11. newbby

    choice of index

    Hi All, I have a table EMPLOYEE_DETAIL with columns such as EMP_ID int (primary key, non clustered index) EMP_LNAME char(25) EMP_FNAME char(25) DEPT_ID int (clustered index) The dept_ID is a foreign key from the DEPARTMENT table. I created indexes as mentioned above. Most of my queries on...
  12. newbby

    query.recordcount

    Hi, In CF 5, I could write <cfif query.recordcount gt 0> do something <cfelse> do something else </cfif>. This worked fine in CF 5. We recently upgraded to MX and the above code generates an error. Thanks.
  13. newbby

    unordered list

    How do I store an unordered list like <ul> <li>values</li> <li>values</li> <li>values</li> </ul> in a variable.
  14. newbby

    vertical menu and text

    All, I have a vertical menu appearing on the left side. On clicking the link from the vertical menu, how can I make the page/text appear on the right side? Are there any alternative to using frames? Thanks
  15. newbby

    Parent child model

    All, I have this below resultset derived from one table and in one query. It can have any levels of parent-child, parent-subparent-child relation .I cannot make multiple calls to the database. ItemID Item ParentItemID 1 Colors 0 2 Animals 0 3 Dog 2 4 Spaniel 3 5 Blue 1 6 People 0 7...
  16. newbby

    Line count on SP

    Hi All, Is there any way to count the number lines of pure code, number of line of comments in any SP? Thanks
  17. newbby

    &lt;cfdirectory&gt; reading file names

    All, I have a select box which I am successfull in capturing all the directory(folder) names using <cfdirectory>. How can I build another select box which will populate with all the file names for each folder selected from previous select. Thanks
  18. newbby

    Data modification queries and isolation level

    Hi All, A. What should the transaction isolation level be set to in select/insert/update/delete queries if I DONOT have a BEGIN TRAN, COMMIT/ROLLBACK set(BEGIN TRAN is not needed in select queries)? B. What should the transaction isolation level be set to in select/insert/update/delete...
  19. newbby

    Email regular expressions

    Hi, How can I validate an email in this format using regular expressions: alphanumeric@something.com OR alpha.alpha@something.com. I am only certain about the @something.com, the prefix can change. Thanks in advance.
  20. newbby

    String Splitting

    Hi, I have the value from the select box as <select name="somename"> <option value="123,myname,mynumber">Myself</option> </select> How can I spilt the value="123,myname,mynumber" into 3 variables using javascript. All I know is that the "somename" has 3 information separated by comma...

Part and Inventory Search

Back
Top