PHP / jQuery - alma html etiketi xxx </ title> </h2> <div class="question-meta"> <span class="q-view-a-count">0 Cevap</span> <a class="cat-in icon-folder-close" href="https://www.takildimkaldim.com/etiket/php">php</a> </div> <div class="row"> <div class="col-md-8 question-c-l"> <div class="qa-part-q-view"> <div class="qa-q-view hentry question" id="q89"> <div class="q-view-body"> <div class="no-overflow"> <div class="qa-q-view-main"> <div class="q-cont-right"> <div class="qa-q-view-wrap"> <div class="qa-q-view-inner"> <div class="clearfix"> <div class="qa-q-view-content" itemprop="description"> <a name="69955"></a><div class="entry-content"><pre><code><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>SOMETITLE</title> </head> <body> <a href="http://www.facebook.com/sharer.php?u=<?php echo $url ?>&t=XXX">click</a> </body> </html> </code></pre> <p>I <code><title></title></code> altında içerik almak ve bunu nasıl, <code><a href="http://www.facebook.com/sharer.php?u=<?php echo $url ?>&t=XXX"></code> de XXX için yerleştirmek php / jQuery kullanmak istiyor?</p> <p>Güncelleme 2</p> <pre><code><?php $url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; ?> <div id="language"> <ul> <li class="last"> <span><a id="block-header-facebook" href="http://www.facebook.com/sharer.php?u=<?php echo $url ?>&t=link"><img src="/home/images/icon/facebook.jpg" /></a></span><span><a href="#"><img src="/home/images/icon/twitter.jpg" /></a></span></li> </ul> </div> <script> $('#block-header-facebook').attr('href').replace("link", "hi"); </script> </code></pre> <p>Teşekkürler</p></div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="qa-part-a-list"> <h3 class="answers-label icon-answer">0 Cevap</h3> <div class="qa-a-list" id="a_list"> </div> <!-- END qa-a-list --> </div> </div> <div class="col-md-4 question-sidebar"> <div class="qa-post-meta"> <div class="question-tags"> <h3 class="tags-label">etiketler</h3> <ul class="tags-tag-list"> <li class="tags-tag-item"><a href="https://www.takildimkaldim.com/etiket/php" class="qa-tag-link">php</a></li> </ul> </div> </div> </div> </div> </div> </div> <footer id="site-footer" class="clearfix"> <div class="qa-nav-main"> <ul class="qa-nav-main-list"> <li class="qa-nav-main-item qa-nav-main-questions"> <a href="https://www.takildimkaldim.com/sorular/" class="icon-question-sign qa-nav-main-link">Sorular</a> </li> <li class="qa-nav-main-item qa-nav-main-tag"> <a href="https://www.takildimkaldim.com/etiket/" class="icon-tags2 qa-nav-main-link">Etiketler</a> </li> </ul> <div class="qa-nav-main-clear"> </div> </div> <ul class="ra-social-links"> <li><a class="t-bg-4 icon-facebook" href="#" title="Link to Facebook"></a></li> <li><a class="t-bg-4 icon-twitter" href="#" title="Link to Twitter"></a></li> </ul> <div class="qa-attribution-right"> Copyright © 2014 <p class="developer">Powered by <a href="http://evrenweb.net/">EvrenWeb</a> Int. Media.</p> </div> </footer> </div> </body> </html> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lte IE 9]> <link rel="stylesheet" type="text/css" href="https://www.takildimkaldim.com/css/ie.css"> <script src="https://www.takildimkaldim.com/js/html5shiv.js"></script> <script src="https://www.takildimkaldim.com/js/respond.min.js"></script> <![endif]--> <link rel="stylesheet" type="text/css" href="https://www.takildimkaldim.com/css/tk.min.css"> <script src="https://www.takildimkaldim.com/js/jquery-1.7.2.min.js" type="text/javascript"></script> <script src="https://www.takildimkaldim.com/js/qa-page.js" type="text/javascript"></script> <script type="text/javascript" src="https://www.takildimkaldim.com/js/bootstrap.js"></script> <script type="text/javascript" src="https://www.takildimkaldim.com/js/jquery.sparkline.min.js"></script> <script type="text/javascript" src="https://www.takildimkaldim.com/js/jquery-ui.min.js"></script> <script type="text/javascript" src="https://www.takildimkaldim.com/js/theme.js"></script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-50641020-1', 'takildimkaldim.com'); ga('send', 'pageview'); </script>