<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>beatdjam</author_name>
  <author_url>https://blog.hatena.ne.jp/beatdjam/</author_url>
  <blog_title>B-Teck!</blog_title>
  <blog_url>https://blog.beatdjam.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>jQuery</anon>
    <anon>PHP</anon>
  </categories>
  <description>formの外側にある要素に対するクリックイベントを取得し、送信する方法。下記はクリックされた要素のidを取得し自分自身にPOSTして表示するコード。 &lt;?php //POSTされた値を表示 if (isset($_POST[&quot;btnid&quot;])) { echo $_POST[&quot;btnid&quot;]; } unset( $_POST); //POSTの値を削除 ?&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt; &lt;/head&gt; &lt;body&gt; &lt;!--GoogleにホストされているjQue…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.beatdjam.com%2Fentry%2F2014%2F10%2F10%2F022430&quot; title=&quot;【PHP/jQuery】form外のクリックイベントを取得し、POST/GETする - B-Teck!&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-10-10 02:24:30</published>
  <title>【PHP/jQuery】form外のクリックイベントを取得し、POST/GETする</title>
  <type>rich</type>
  <url>https://blog.beatdjam.com/entry/2014/10/10/022430</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
