Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to call java-script files in wft files.
sanjeevappa
Hi.
I want to call java script in wft file in TAG_info section.
Any help will be appreciated.
Find more posts tagged with
Comments
Adam Stoller
Have you searched the forums for information on this?
I'm pretty sure its been discussed before - so you may be able to find the answers you're looking for by ... looking for them.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Migrateduser
What Adam suggests is to use the 'search tab' inside the forums to look for the information you need.
Regards,
lissa
saumil
Hi,
I have implemented same kind of solution.
I am just making it easy for you.
my $varJavaScript = '<script>
function checkIT () {
alert("Hello...");
}
</script>';
TAG_info(
iw_new_name =>
[ html => $localizer->format('copy_name_label')
. '<br><input type="text" name="new_name" value="" size="50" height="10" onBlur="javascript:checkIT()">'
. $varJavaScript,
error_msg => $localizer->format('copy_error_msg'),
is_required => 'true',
label => '',
],
);
Saumil
BTWholesale | CMS
sanjeevappa
Hi ,
javascript:checkIT( ) How i van pass parameter to this checkIT function:
I have one more field above this in my instantiation form i want to pass value of that field to this function.
San
saumil
Hi,
Use following line in CheckIt() Function for getting value of your another field.
var myVal = document.forms[0].elements["iw_my_name"].value;
Saumil
BV/BEA (BT.COM) | CMS