Jquery fix
- or -
Post a project like this$$
- Posted:
- Proposals: 16
- Remote
- #1573008
- Expired
Website Developer & Designer | WooCommerce Expert | ♛ TOP CERT | Top 10 Developer on PPH
Cork
PHP | Laravel | CodeIgniter | Zend Framework 1-2 | WordPress | Woocommerce | SugarCRM CE | Jquery | Angularjs | Postman API Automation
Ahmedabad
1061975154347916452901650486
Description
Experience Level: Intermediate
General information for the website: jquery fix
Description of requirements/features: Hi,
We are trying to get an image to show content when pressed with the same class name. Class name is being put in with a post id (wordpress).
Can't seem to get this to work:
jQuery(document).ready(function(){
var casesfull = jQuery('.casesfull').attr('class').split(' ')[1];
var casesthumb = jQuery('.casesthumb').attr('class').split(' ')[1];
jQuery(".casesthumb").click(function() {
if (casesfull == casesthumb) {
jQuery(casesfull).show();
alert(casesfull);
}
});
});
Extra notes:
Description of requirements/features: Hi,
We are trying to get an image to show content when pressed with the same class name. Class name is being put in with a post id (wordpress).
Can't seem to get this to work:
jQuery(document).ready(function(){
var casesfull = jQuery('.casesfull').attr('class').split(' ')[1];
var casesthumb = jQuery('.casesthumb').attr('class').split(' ')[1];
jQuery(".casesthumb").click(function() {
if (casesfull == casesthumb) {
jQuery(casesfull).show();
alert(casesfull);
}
});
});
Extra notes:
Curtis C.
100% (22)Projects Completed
16
Freelancers worked with
16
Projects awarded
27%
Last project
12 Nov 2018
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hi, I this job still open?
Jon -
Hi Curtis,
Are you still open to proposal ? -
Do you have a link to show ?
-
Hi Curtis,
I understand the requirement and ready to fix this issue.
Can you please share the website details ?
Regards
Navdeep -
Hi Curtis,
Is it possible to see the website and page in question so I can take a look at the actual content and code?
Kind regards,
Matthew
421790419141418981418763418751
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies