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
Vasu Gadhiya
NA
429
102.9k
How To Use JavaScript Variable in Asp.net Inline Code ?
Jul 12 2013 4:42 AM
How To Use JavaScript Variable in Asp.net Inline Code ?
My Code Look like This
----------------------------------------
<%
String
v
=
"test"
;
string
[]
vt
=
new string
[4] {
"aaa"
,
"bbb"
,
"ccc"
,
"ddd"
};
%>
<script language="JavaScript1.2">
var scrollercontent=new Array()
for (var i=0;i<3;i++)
{
scrollercontent.push('
<%
=
vt[i]
%>
');
}
</script>
----------------------------------------
if I use scrollercontent.push('<%= vt[0]%>'); Than its Print "aaa", but in <%= vt[i]%> variable i cant increase..
Reply
Answers (
3
)
The breakpoint will not currently be hit. Error
difference between two connection strings?