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
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
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
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">...
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
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"...
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
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
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"...
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"...
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...
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.
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
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...
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
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...
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.