jquery - passing value to php
<p>ive got 2 different php files.
first one: <code>A.php</code>, second : <code>B.php</code></p>

<p>in A.php, ive got this line:</p>

<pre><code>function altcat(id) {
            jQuery("#tvspor2").load("B.php?arupa="+id+"");
        }
</code></pre>

<p>let me explain what im doing in the A.php: 
i ve got a link in the A.php: <code>&lt;a href='javascript:altcat("5")'&gt;</code>
so, if a user click this link, A.php send this value to B.php?arupa=. its so simple. and B.php has this line: </p>

<pre><code>if ($_GET["arupa"]) {
echo $_GET["arupa"];
}
</code></pre>

<p>in the A.php i ve got this line: <code>&lt;div id="tvspor2"&gt;&lt;/div&gt;</code> so, it shows the result.
for example: if a user clicks the link, result will show 5.</p>

<p>here is my question: i can show result in a div. i want to show result as a link. well, i want to use result value like that: <code>&lt;a href="-i want to display altcat(id) to here.-"&gt;test link&lt;/a&gt;</code></p>

<p>so, i will able to create dynamic links upon the user choices. can you please kindly show me a way? ive been working on this issue for almost 3 days :( regards</p>
