sceditor add button with 3 fields

Add to sceditor new button with this function

[hide cost="25" title="super secret content"]Pay to view this content.[/hide]

This is foundation

[hide cost="25"]Pay to view this content.[/hide]

$.[login to view URL]('hidep', {

tooltip: 'Add unlock content for gems!',

_dropDown: function (editor, caller) {

var $content;

$content = $(

'<div>' +

'<div>' +

'<label for="hidep">' + editor._('Ammount of gems') + '</label> ' +

'<input type="text" id="hidep" />' +

'</div>' +

'<div>' +

'<label for="des">' + editor._('Your hidden content') + '</label> ' +

'<input type="text" id="des" />' +

'</div>' +

'<div><input type="button" class="button" value="' + editor._('Insert') + '" /></div>' +



$[login to view URL]('.button').on('click', function (e) {

var val = $[login to view URL]('#hidep').val(),

description = $[login to view URL]('#des').val();

if (val) {

// needed for IE to reset the last range


if (![login to view URL]().selectedHtml() || description) {

if (!description)

description = val;

[login to view URL]('[hide cost="' + val + '"]' + description + '[/hide]');

} else

[login to view URL]('createlink', 'mailto:' + val);


[login to view URL](true);

[login to view URL]();


[login to view URL](caller, 'inserthidep', $[login to view URL](0));


exec: function (caller) {

$.[login to view URL]('hidep')._dropDown(this, caller);



Skills: PHP, Javascript

See more: wordpress add custom configuration fields, virtuemart add product custom fields, add button papervision, add button fck, oscommerce add contact option fields, magento add button, add button flash, add button zen cart products, oscommerce add product field fields, add button fckeditor, joomla javascript dynamically add button, add button site oscommerce, add button flashchat web page, add button icons blue color, php cart add button, add customer input fields paypal button actionscript, add extra text fields paypal button

About the Employer:
( 3 reviews ) Tõrva, Estonia

Project ID: #23480212

6 freelancers are bidding on average €3/hour for this job


Hi, We work in a team and provide quality of services to our clients according to their requirement. As per your requirement we are interested to work with you. It would be great if we could discuss project over chat More

€3 EUR / hour
(260 Reviews)

Hello, I have gone through the brief details mentioned on the job. I have done multiple jobs with Javascript, React,Angular,node.js, WordPresss,Python, laravel, Software Architecture which are the skills required to ge More

€3 EUR / hour
(7 Reviews)

Javascript expert please ping me thanks Chang L...

€5 EUR / hour
(1 Review)

I WILL START QUICKLY!!! Hello I am a senior developer. I want to do it for you if you want. we can discuss more about this project. if you can send a reply. I waiting for you best response. let me discuss Many thanks

€3 EUR / hour
(0 Reviews)

Hello there, We are web based company in Kolkata,India. Our services are mentioned below: - Website Design - Website Development - App Design & Development (Android & Ios) We have expert team members to handle compl More

€3 EUR / hour
(1 Review)

Hi Am Stanislav, I have great experience on wordpress web designing and development sure I can help you with this project I have read your project details but I have some questions to ask so please ping me for other de More

€3 EUR / hour
(1 Review)