TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
suganya pv
NA
7
0
call javascript function in asp.net,c#
Mar 27 2009 5:35 AM
Hi,
I have sample javascript function it have 2 parameter values. so how to access this script fuction in asp.net,c#.
Having javascript is:
<script language="javascript" type="text/javascript">
function splitLine(st,n)
{
var b = '';
var s = st;
while (s.length > n)
{
var c = s.substring(0,n);
var d = c.lastIndexOf(' ');
var e =c.lastIndexOf('\n');
if (e != -1) d = e;
if (d == -1) d = n;
b += c.substring(0,d) + '\n';
s = s.substring(d+1);
}
return b+s;
}
</script>
So how to use this script inside asp.net,c# and also how to pass values to this parameter.
Thanks.
Reply
Answers (
2
)
c++ code required
Unable to obtain a specified output sequence in RS232 communication