473,466 Members | 1,376 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

use of JavaScript in ASP.NET issues and lessions

1 New Member
Hello

I am anil i started learning ASP.Net and JavaScript separately in college days

However there are may issues that i found related to use of javaScript into the ASP page

The following questions are from ASP.NET code snippet.

Could any boddy forward some help or links to me so i can get through it

problems : -

1. <asp:textbox onkeyup="javascript:funcionname()"
what is this
i.e why javascript prefixed

2. CssClass="TEXTBOX" meta:resourcekey="txtResource1"

what above lines mean

3.

function ConvertText(sender,arg)
{
var txtbox1 = document.forms[0].elements("<%=txtbox1.ClientID %>");
var txtbox2 = document.forms[0].elements("<%=txtbox2.ClientID %>");
javascript:print_words(txtbox1,txtbox2);
}

in above code what and why is

<%=txtbox1.ClientID %>
and
why prefix javascript to javascript:print_words(txtbox1,txtbox2);

Regards,
Anil Namde
anilnamde@gmail.com
Jan 18 '08 #1
1 879
shweta123
692 Recognized Expert Contributor
Hi,

Please have a look at these articles.
Link1

Link2

Hello

I am anil i started learning ASP.Net and JavaScript separately in college days

However there are may issues that i found related to use of javaScript into the ASP page

The following questions are from ASP.NET code snippet.

Could any boddy forward some help or links to me so i can get through it

problems : -

1. <asp:textbox onkeyup="javascript:funcionname()"
what is this
i.e why javascript prefixed

2. CssClass="TEXTBOX" meta:resourcekey="txtResource1"

what above lines mean

3.

function ConvertText(sender,arg)
{
var txtbox1 = document.forms[0].elements("<%=txtbox1.ClientID %>");
var txtbox2 = document.forms[0].elements("<%=txtbox2.ClientID %>");
javascript:print_words(txtbox1,txtbox2);
}

in above code what and why is

<%=txtbox1.ClientID %>
and
why prefix javascript to javascript:print_words(txtbox1,txtbox2);

Regards,
Anil Namde
anilnamde@gmail.com
Jan 18 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

53
by: Cardman | last post by:
Greetings, I am trying to solve a problem that has been inflicting my self created Order Forms for a long time, where the problem is that as I cannot reproduce this error myself, then it is...
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...
15
by: binnyva | last post by:
Hello Everyone, I have just compleated a JavaScript tutorial and publishing the draft(or the beta version, as I like to call it) for review. This is not open to public yet. The Tutorial is...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
1
by: michael.bollhoefer | last post by:
I was running into issues with the images on the page not working under sub folders. If you leave a master file in the root folder and place content pages in the subfolder then when you hit a...
34
by: electrician | last post by:
Perl has it, Basic has it, Fortran has it. What is so difficult about creating a goto command for JavaScript. Just set up a label and say go to it.
5
by: Jason | last post by:
Hi, I have some simple JavaScript on my page that worked for years in IE 6 without an error that I am aware of, but does not work in IE 7. Any insight on this issue that anyone can provide would...
4
by: Peter | last post by:
ASP.NET I have an application which use ASP.NET Autocomplete extender which works great. But I have a question how to update all the fields on the screen using Ajax. Users starts typing in a...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.