Recently Viewed...
DNN Modules
SnowCovered Top Sellers

Ultra Media Gallery 5.3
Ultra Media Gallery is the most popular photo gallery and media gallery module for DotNetNuke, the major purpose of this module is to allow you create unlimited pictures and medias to your gallery and organize them by albums, your albums and medias are browsed in flash interface.

Ultra Video Gallery 2.3
Ultra Video Gallery is a brother product of Ultra Media Gallery, The major purpose of this product is to provide an easy way to add videos in various formats to your website by and play them in a unique flash gallery.

Flex By DrNuke
The Flex skins are professionally designed, coded and packaged by a team of DotNetNuke experts. Available in 8 great colours, each with 15 banner images, 2 menu types and a choice of 3 background styles. The entire pack features a total of 2472 skins!

Engage: Publish 5.1
Content Workflow + Versioning + Categorization + Multiple Display Options = Truly Advanced DotNetNuke Content Management (Requires DNN 4.5.1 or later)

XMod 5.1
Version 5 of the perennial best-selling tool for creating data-based solutions in DNN without custom programming. This version focuses on greater flexibility, expandability, and ease-of-use.

Events Calendar and Registration 2.1.8 for DNN4.xx
One stop solution for events calendar and events registration! Demo site available for free trial.

Open-DocumentLibrary v3.0
Powerful, Ajax Enabled, Easy to Use. Document Management has never been better. Open-DocumentLibrary allows DotNetNuke users to share and manage documents in a flexible, intelligent way, offering granular control over Folder and Document access.

DNNMasters SEO Suite Enterprise w/Source
If you want better Search Engine ranking you need KeepAlive, URL Rewrite, Custom 404 error, Custom Redirect, Friendly URL's, Sitemap, Google Sitemap.DNNMasters SEO Suite delivers all of it and more!

Form Master 1.6 For DNN 4
Form Master 1.6 improves on the success of version 1.5 with new features in Function, and Presentation, while maintaining the Intuitive User Interface. Form Master 1.6 delivers visual form design where input fields can easily be created, modified, and moved.

Document Exchange Professional 4
Edit documents directly on your server using the latest iteration of the premier document management solution for DotNetNuke (DNN). With a completely revised Ajax-enabled UI.
    |   Register   |   Friday, September 05, 2008   
Data Springs Product Forums...
Subject: Javascript in Tailored Text/Html
Prev Next
You are not authorized to post a reply.

Author Messages
Michael
Posts:26
going with the flow
going with the flow

04/10/2008 7:58 PM  

I need to assign the value of a querystring token to a Javascript variable  in order to manipulate the value and write it later in the document.  So far I have tried variations on the theme below without success.  Typically, the page just fails to load.

Chad
Posts:1873
river guide
river guide

04/10/2008 8:19 PM  
Hi. Hmmm... Are you attempting to insert the javascript function directly into the text/html? Or is this javascript that already exists in a function or javascipt file in the portal/skin etc...? I would imagine if it renders just as HTML for the token you could use the token in the javascript. Not sure though and sometimes the text/html will remove certain tags.


The other option would be to use the querystring token in a SQL token (should use a stored procedure to minimize the risk of SQL injection) and perform any logic you wanted to perform in javascript in the stored procedure (if possible). Then the SQL token would return the right variable? You might want to explain a little more specifically in detail what the javascript function needs to do though for me to get my mind spinning in a few directions.


-Chad

Timothy
Posts:17
wading in the water
wading in the water

07/23/2008 10:01 AM  
In your explanation, Chad, are you saying put the javascript into an SQL database and then use. You aren't explaining very clearly.
You are not authorized to post a reply.



ActiveForums 3.7

Copyright 2005 - 2008 by Data Springs, Inc.
Terms Of Use | Privacy Statement