|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
I'm looking for a easy way that i can make a link that when you click on it, it posts a variable or a number value into a text field. All of this should be done in php.
Do any of you people know how to do this? Thanks ![]() |
| Sponsored Links |
|
|
|
|||
|
What i'm trying to do is to have an image map. On the image is blocks with numbers and when you click on one of the blocks it should open a popup and then put that number in the text box on the popup form. You can have a look at this url: Tax Invest Properties
|
|
|||
|
It should be a piece of cake.
Javascript solution inside popup: Code:
<textarea id="Message" name="Message" rows="10" cols="10"></textarea>
<script type="text/javascript" language="JavaScript">
<!--
document.getElementById('Message').value="NUMBER";
-->
</script>
Code:
<textarea id="Message" name="Message" rows="10" cols="10"> <?php echo $number_id; /* or via $_GET ?> </textarea> |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is this a link farm? | TcM | Hosting and Registrars | 2 | 05-24-2007 03:35 PM |
| Text Link ad Networks | Lop | Marketing | 15 | 05-24-2007 03:12 PM |
| HTML Basic Formatting | clookid | Tutorials | 14 | 03-06-2007 03:10 PM |
| Generate text with transparent background | AfTriX | PHP Tutorials | 1 | 01-08-2007 02:13 AM |
| Link exchanges | Kaabi | Search Engine Optimization | 2 | 08-03-2006 09:34 PM |
| neerlin | ........ | |
| satrian | ........ | |
| jackluxford | ........ | |
| =At | ........ | |
| Xav | ........ | |
| MeTh0Dz|Reb0rn | ........ | |
| gamiR | ........ | |
| chili5 | ........ | |
| liljp617 | ........ | |
| Fred@eisfi | ........ |
Goal: 100,000 Posts
Complete: 67%