Jump to content

how can i do this?


yami007

Recommended Posts

uh, well that 2nd half of my sentence mentioned you[ explaining to me in more detail what you are wanting...

yes !!

well my basic bbcode function is like this :

 

<script type="text/javascript" language="javascript">

function smiley(text) {
        document.reply.message.value = document.reply.message.value += text;
        document.reply.message.focus(); // i added this when premiso told me about the function but still need more funcionality
}
</script>

 

something like when the bbcode is [ b ] [ /b ], the caret as u told me which i never knew its name should be between [ b ] & [ /b ]

i hope this is good explanation to what i want to do.

thank you :)

Link to comment
https://forums.phpfreaks.com/topic/186505-how-can-i-do-this/#findComment-986444
Share on other sites

okay, you still aren't making any sense.  At best, you are talking as if I'm sitting in front of your computer screen with you pointing at stuff. Well I'm not, so I have no idea what you are talking about, because I don't know the context of your situation. 

 

Are you talking about for example, when I am making a post on a forum, if I click on for example the "bold" button, it auto-inserts the bbcode where my caret is?

Link to comment
https://forums.phpfreaks.com/topic/186505-how-can-i-do-this/#findComment-986447
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.