• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

text link auto click

Guest
Nov 04, 2006 Nov 04, 2006

Copy link to clipboard

Copied

Hi i want to be able to open a small popup window if a form is defined, can i change the onclick to something that auto clicks?

<cfif isdefined('form.SMSSent')>
<a href="sss.cfm" onclick="newWin(this.href,550,250,'no','no'); return false;"></a>
</cfif>
TOPICS
Advanced techniques

Views

255

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 04, 2006 Nov 04, 2006

Copy link to clipboard

Copied

LATEST
WIth your CFIF, you could write a Javascript function using the onLoad event handler. This is placed in the BODY tag and executes when a document is loaded into the browser. However, many browsers are set up to block autoloading of pop-up windows.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation