473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Javascript customization

Hi,

My ASP .NET pages contain some client-side javascript variables and
functions :

<html>
<head>
<script language="Javascript">
pageId = '[pageId]';

function init() {
... do some work using the value of pageId ...
}
</script>
</head>
<body>
<form ...>
...
</form>
</body>
</html>
The variable [pageId] (e.g. 10, 20, 30, ...) should be filled in by my ASP
..NET script (server side) before the result is sent to the browser.
How can this be accomplished ?

Jill
Jul 19 '05 #1
1 1220
I'd suggest you post to a DotNet newsgroup, but in principle it should work
like ASP, with the <% %>

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jill Graham" <ji**********@yahoo.com.au> wrote in message
news:up**************@TK2MSFTNGP09.phx.gbl...
Hi,

My ASP .NET pages contain some client-side javascript variables and
functions :

<html>
<head>
<script language="Javascript">
pageId = '[pageId]';

function init() {
... do some work using the value of pageId ...
}
</script>
</head>
<body>
<form ...>
...
</form>
</body>
</html>
The variable [pageId] (e.g. 10, 20, 30, ...) should be filled in by my ASP
.NET script (server side) before the result is sent to the browser.
How can this be accomplished ?

Jill

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Daniel Meilleur | last post by:
Hi, I try to use a customization stylesheet following example given by B.Stayton (http://www.sagehill.net/docbookxsl/CustomGentext.html#CustomGenText) i.e.: <?xml version='1.0'?>...
3
by: Volker Hetzer | last post by:
Hi! I'm new to javascript and I'd like to know whether javascript can process javascript-code entered by the user or read from a file. We've got an application that uses ActiveX as main...
2
by: PatLaf | last post by:
I would like to be able to build a datagrid that has two buttons in each cell similar to the functionality provided by the winforms numericupdown control. I have an app that will require the user to...
1
by: Dave Vanwonterghem | last post by:
Hi, My ASP .NET pages contain some client-side javascript variables and functions : <html> <head> <script language="Javascript"> pageId = '';
19
by: Fabian | last post by:
Well, what can I say...I really hate Javascript. I am not programming as profession but I sometimes work with PHP with MySQL, ASP with Ms Access/SQL Server. I have done something in VB and when...
0
by: Margarita | last post by:
Where can i find information about customization (on C#) the DHTML Editing Component ActiveX Control . I want to implement some(2,3,4...) input elements for data with one ToolBar on the...
1
by: robert d via AccessMonster.com | last post by:
I'm a fledgling developer and am just starting to get my app out to specific clients. I have been asked to bid on a project because my app already does over 90% of what the client wants. My...
4
by: nondisclosure007 | last post by:
Hello all! I have something rather unique. I'm creating a cookie for customization for a webpage. But I want to tie the user to a machine (not friendly, I know, but for what I'm doing, it's...
14
by: Mars | last post by:
I'm looking for a javascipt vertical news scroller that will scroll from the bottom of the page to the top showing many new items. Would really appreciate some help. The scroller I'm using at...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.