Find Jobs
Hire Freelancers

Complete this function (PHP - javascript - jquery)

$10-30 USD

Terminado
Publicado hace alrededor de 9 años

$10-30 USD

Pagado a la entrega
Hola! Easy if you know how, but my brain is full and I need an extra pair of hands for 60 mins of coding, if that. In a nutshell - finish the half written function in the attached file. It should return a string of javascript that can go into the on* event handler for a checkbox or select field. It gets passed a pipe delimited string of values, and a pipe delimited list of IDs (of divs) to show if one of the values matches. If there's no match, it should hide all the IDs AND... here's the minor complication - reset all child form elements inside the hidden div to what they were when the page was built (i.e. to their original value, selected element or check status) Naturally you'll want to create a separate javascript function to keep things tidy. That's it. Happy fudging. $field='myField'; $options['type']=_CHECK; // _CHECK / _SELECT $options['show_if']="apple|pear"; $options['show_fields']="fruits_i_like|other_fruits"; // implement for a checkbox or select field to use in code like this (I know it's bleh, but it's late here..) $js_event=checkForJavascriptEventListener($field,$options); $my_field = "<input type=\"checkbox\" js_event>"; function checkForJavascriptEventListener($field,$options){}
ID del proyecto: 7359032

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi there, I'm a javascript ninja, I'm ready to write the function you need. I can start and finish today. Best Wishes Marcelo
$25 USD en 1 día
5,0 (64 comentarios)
5,5
5,5
3 freelancers están ofertando un promedio de $34 USD por este trabajo
Avatar del usuario
Hello! With 99% completion rate, 750 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... you can never go wrong choosing me :) I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$29 USD en 1 día
5,0 (575 comentarios)
7,7
7,7
Avatar del usuario
Hello sir, I read your requirements very-well and ready to start work from now. Hope you will give me a chance to do work with you, waiting for your reply, Thank you
$49 USD en 1 día
4,9 (138 comentarios)
5,9
5,9
Avatar del usuario
A proposal has not yet been provided
$40 USD en 2 días
5,0 (1 comentario)
0,4
0,4

Sobre este cliente

Bandera de UNITED KINGDOM
London, United Kingdom
5,0
28
Forma de pago verificada
Miembro desde mar 10, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.