chandu1256 Posted January 9, 2010 Report Posted January 9, 2010 ok chinna doubt....HTML lo....SCRIPT tag FORM tag lopala gaani baita undatam valla vache difference enti?ThanksChandu1256
vaasu Posted January 9, 2010 Report Posted January 9, 2010 difference undo ledho teliyadhu... rendu pani chesthayi
chandu1256 Posted January 9, 2010 Author Report Posted January 9, 2010 [quote author=vaasu link=topic=31466.msg219741#msg219741 date=1263080386]difference undo ledho teliyadhu... rendu pani chesthayi[/quote]pani chesthunnai bro...kaani ...dhaani mundhu unna div tags effect avuthaya ?if script is placed after those div's?
vaasu Posted January 9, 2010 Report Posted January 9, 2010 [quote author=chandu1256 link=topic=31466.msg219749#msg219749 date=1263080630]pani chesthunnai bro...kaani ...dhaani mundhu unna div tags effect avuthaya ?if script is placed after those div's?[/quote]div tages r just used for design....java script will never effect the design....i mean table tags, div tags, soan, panel etc tags will not be effected by java script
vaasu Posted January 9, 2010 Report Posted January 9, 2010 but in some cases it may effect...for example if thee is div tag like <div id="div1"></div>if in the javascript u r trying to access this div with id, then the javascript should be outside the div tags
10dulkar Posted January 10, 2010 Report Posted January 10, 2010 Its not a good practice to mix script tags and form tags. Keep the script tags for javascript, and form tags for web page design.paste the code you are writing, we can give you better insight.
mba Posted January 10, 2010 Report Posted January 10, 2010 code or ekkadaina simple example host chesi nee requirement ento cheppu we can get it solvedif you are not sure whether that div exists or not and alanti div meedha operation chesetappudu using javascript, its always better to check if div is available or not. Otherwise it will throw script error if the div is not availablelike if(document.getElementById(div_id)){document.getElementById(div_id).style.display = block;}
chandu1256 Posted January 10, 2010 Author Report Posted January 10, 2010 Nenu work chesthunna website lo header alignment sarigga ledhu...konni pages lo perfect ga undhi...sarigga leni page lo ...<form > lopala<script>undhi...vere pages lo script was outside the form....so dhaani valla emana alignment affect avuthundha?
master123 Posted January 10, 2010 Report Posted January 10, 2010 [quote author=chandu1256 link=topic=31466.msg220122#msg220122 date=1263089509]Nenu work chesthunna website lo header alignment sarigga ledhu...konni pages lo perfect ga undhi...sarigga leni page lo ...<form > lopala<script>undhi...vere pages lo script was outside the form....so dhaani valla emana alignment affect avuthundha?[/quote]yes dude java scripts from lopata rasthe then the div content wil change the alignment u need to name very div with an id
chandu1256 Posted January 10, 2010 Author Report Posted January 10, 2010 Thanks master!!! Thanks everyone!!! issue solve aithe... post chesthanu
mba Posted January 10, 2010 Report Posted January 10, 2010 [quote author=chandu1256 link=topic=31466.msg220479#msg220479 date=1263094192]Thanks master!!! Thanks everyone!!! issue solve aithe... post chesthanu [/quote]if possible try to create a replica of the problem and post the codes of the page that works fine and that doesn't.All the best..if nothing works try hitwalltwice ... it really works.. !':
Recommended Posts