kotha thread Posted March 6, 2011 Report Posted March 6, 2011 HI guys,need some infoHOw to update dynamicaly the content attribute of a meta element ,when we are using ajax in switching tabs.
raj5891 Posted March 6, 2011 Report Posted March 6, 2011 [img]http://www.gifsoup.com/view1/1102213/tr-walking-o.gif[/img]edo nuvvu pilichavu ani vachanu brother.... naku telisinatha lo septhanu....$(controlNamePrefix + 'ct100_ajaxtabcontainerName_xyz').val("your value")...where xyz is the name of the meta element....is this wat u were asking or something else... ???
gerrard Posted March 6, 2011 Report Posted March 6, 2011 [quote author=raj5891 link=topic=164020.msg1968385#msg1968385 date=1299435313][img]http://www.gifsoup.com/view1/1102213/tr-walking-o.gif[/img]edo nuvvu pilichavu ani vachanu brother.... naku telisinatha lo septhanu....$(controlNamePrefix + 'ct100_ajaxtabcontainerName_xyz').val("your value")...where xyz is the name of the meta element....is this wat u were asking or something else... ???[/quote] you rock you rock you rock you rock you rock
chipanjichiru Posted March 6, 2011 Report Posted March 6, 2011 naku pedhaga idea ledhu kani....var mt = document.getelementbyTagname("meta");mt.attr(content, value);I dont know it works or not........ I think we can do this using above lines...(Not sure) sSc_hiding2 sSc_hiding2orWe can get meta tag attribute using Jquery as follows:$(meta [content *= "your values"]). This gets meta tag with content = "your values"... Then you can change value..
kotha thread Posted March 6, 2011 Author Report Posted March 6, 2011 Nope man..it wont work,.....to my knowledge.....we cant update meta in dom tree once the page loaded...nenu jquery and js ronddu use chesa..kani no use....popup pettukuntte..updated anttundhi..kani...source chusthe ..its not.....andhuke...edhaina hacking code untundha ani post vesa....[quote author=TollywoodEmperor link=topic=164020.msg1968416#msg1968416 date=1299436174]naku pedhaga idea ledhu kani....var mt = document.getelementbyTagname("meta");mt.attr(content, value);I dont know it works or not........ I think we can do this using above lines...(Not sure) sSc_hiding2 sSc_hiding2orWe can get meta tag attribute using Jquery as follows:$(meta [content *= "your values"]). This gets meta tag with content = "your values"... Then you can change value..[/quote] [quote author=raj5891 link=topic=164020.msg1968385#msg1968385 date=1299435313][img]http://www.gifsoup.com/view1/1102213/tr-walking-o.gif[/img]edo nuvvu pilichavu ani vachanu brother.... naku telisinatha lo septhanu....$(controlNamePrefix + 'ct100_ajaxtabcontainerName_xyz').val("your value")...where xyz is the name of the meta element....is this wat u were asking or something else... ???[/quote]
kotha thread Posted March 6, 2011 Author Report Posted March 6, 2011 [quote author=mba link=topic=164020.msg1968545#msg1968545 date=1299439581]kotha meta tag add cheyochu anukunta page ki..[/quote]adhi requiremnt kadhu....mama
mba Posted March 6, 2011 Report Posted March 6, 2011 [quote author=kotha thread link=topic=164020.msg1968505#msg1968505 date=1299438256]Nope man..it wont work,.....to my knowledge.....we cant update meta in dom tree once the page loaded...nenu jquery and js ronddu use chesa..kani no use....popup pettukuntte..updated anttundhi..kani...source chusthe ..its not.....andhuke...edhaina hacking code untundha ani post vesa....[/quote]jquery or javascript tho dom ki add chesinavi.. view source lo kanipinchavu... sHa_high5ingela add chesavo alaane chudali.. oka sari add chesakaa document.getElementsByTagName('meta') chudu....
pavan_613 Posted March 6, 2011 Report Posted March 6, 2011 [quote author=kotha thread link=topic=164020.msg1968366#msg1968366 date=1299434624]HI guys,need some infoHOw to update dynamicaly the content attribute of a meta element ,when we are using ajax in switching tabs.[/quote]baaa naaku thelisina friend vunnadu vadi peru browny.....he will clarify ur doubts i will pm his number call him...... @3$% @3$% @3$% @3$% @3$% @3$% @3$% @3$% @3$% @3$% @3$% @3$% @3$% @3$% @3$% @3$%naaku mathram nuvvu emi adigavo intha kuda samaj kaledhu baaaa
chipanjichiru Posted March 6, 2011 Report Posted March 6, 2011 [quote author=kotha thread link=topic=164020.msg1968505#msg1968505 date=1299438256]Nope man..it wont work,.....to my knowledge.....we cant update meta in dom tree once the page loaded...nenu jquery and js ronddu use chesa..kani no use....popup pettukuntte..updated anttundhi..kani...source chusthe ..its not.....andhuke...edhaina hacking code untundha ani post vesa....[/quote] sCo_hmmthink sCo_hmmthink sCo_hmmthink sCo_hmmthink sCo_hmmthink sCo_hmmthink sCo_hmmthink
NATASIMHAM Posted March 6, 2011 Report Posted March 6, 2011 jquery lo document.ready(function(){ ikkada niku kavalsina function rasuko it will be added to dom tree });
mba Posted March 6, 2011 Report Posted March 6, 2011 [quote author=NATASIMHAM link=topic=164020.msg1968641#msg1968641 date=1299442302]jquery lo document.ready(function(){ ikkada niku kavalsina function rasuko it will be added to dom tree });[/quote]eppudaina add cheyochaa baa.. okka document.ready lone kaadhu sHa_high5ing
Recommended Posts