Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
Json in javascripr
chetan shinde
9y
547
1
Reply
hi i am using Json while binding data from database. when i bind data in jason format using javascript is also bind its html format atomatically.
Like
parent.document.getElementById("divTimer")
:
div
#divTimer
parent.document.getElementById("divTimer")
:
div
#divTimer
Call Stack
Async
DocGrid.js:81
DisplayGrid
DocGrid.aspx:60
onclick
Paused on a JavaScript breakpoint.
Scope Variables
Local
DocType
:
"&DocType=25"
FromDt
:
"&FromDt=01/Apr/2013"
Ledger
:
"&Ledger=20625188"
Msg
:
undefined
SiteId
:
"&SiteId=202"
ToDt
:
"&ToDt=31/Mar/2015"
VUrl
:
"DocGrid_Support.aspx?&mode=list&DocType=25&Ledger=20625188&FromDt=01/Apr/2013&ToDt=31/Mar/2015&SiteId=202"
httpReq
:
XMLHttpRequest
mode
:
"&mode=list"
obj
:
undefined
text
:
"{"Header":[{"SrNo":"##","RID":"RID","VDATE":"VDATE","WTypeAlias":"WTypeAlias","VAmount":"VAmount","DocType":"DocType","FSize":"FSize","FileName":"FileName"},{"SrNo":"1","RID":"VWe2002515","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"818.00","DocType":"Gains","FSize":"4.00","FileName":"VWe2002515_3.TXT"},{"SrNo":"2","RID":"VWe2002513","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"745.00","DocType":"Gains","FSize":"34.00","FileName":"VWe2002513_3.png"},{"SrNo":"3","RID":"VWe2002513","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"745.00","DocType":"Gains","FSize":"9.00","FileName":"VWe2002513_2.xlsx"},{"SrNo":"4","RID":"VWe2002513","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"745.00","DocType":"Gains","FSize":"227.00","FileName":"VWe2002513_1.txt"}],"Footer":[{"Total":"4","curIndex":"1","last":"4","TotalPage":"2"}]} ? ?<!DOCTYPE html> ? ?<html xmlns="http://www.w3.org/1999/xhtml"> ?<head><title> ? ?</title></head> ?<body> ? <form method="post" action="DocGrid_Support.aspx?mode=list&DocType=25&Ledger=20625188&FromDt=01%2fApr%2f2013&ToDt=31%2fMar%2f2015&SiteId=202" id="form1"> ?<div class="aspNetHidden"> ?<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE2MTY2ODcyMjlkZDYeAiA0vD2VMbPbFqDskkvxb+sCrFrdqSLMXgsqrYVA" /> ?</div> ? ? <div> ? ? </div> ? </form> ?</body> ?</html> ?"
this
:
Window
vBrowser
:
""
xmlhttp
:
XMLHttpRequest
Window
Global
Breakpoints
DateControl.js:394
var left = 71;
DocGrid.js:4
var FromDt = '';
DocGrid.js:55
var VUrl = "DocGrid_Support.aspx?" + mode + DocType + Ledger + FromDt + ToDt + SiteId;
DocGrid.js:81
if (text != null || text != "") {
DOM Breakpoints
XHR Breakpoints
Event Listener Breakpoints
"{"Header":[{"SrNo":"##","RID":"RID","VDATE":"VDATE","WTypeAlias":"WTypeAlias","VAmount":"VAmount","DocType":"DocType","FSize":"FSize","FileName":"FileName"},{"SrNo":"1","RID":"VWe2002515","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"818.00","DocType":"Gains","FSize":"4.00","FileName":"VWe2002515_3.TXT"},{"SrNo":"2","RID":"VWe2002513","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"745.00","DocType":"Gains","FSize":"34.00","FileName":"VWe2002513_3.png"},{"SrNo":"3","RID":"VWe2002513","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"745.00","DocType":"Gains","FSize":"9.00","FileName":"VWe2002513_2.xlsx"},{"SrNo":"4","RID":"VWe2002513","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"745.00","DocType":"Gains","FSize":"227.00","FileName":"VWe2002513_1.txt"}],"Footer":[{"Total":"4","curIndex":"1","last":"4","TotalPage":"2"}]} <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head><title> </title></head> <body> <form method="post" action="DocGrid_Support.aspx?mode=list&DocType=25&Ledger=20625188&FromDt=01%2fApr%2f2013&ToDt=31%2fMar%2f2015&SiteId=202" id="form1"> <div class="aspNetHidden"> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE2MTY2ODcyMjlkZDYeAiA0vD2VMbPbFqDskkvxb+sCrFrdqSLMXgsqrYVA" /> </div> <div> </div> </form> </body> </html> "
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
html menu
html code shortcut back to top