Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Screen name:
Mona Abdelkader
Mona Abdelkader's Profile
2
Posts
4
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Ideas
Problems
Expanded view
List view
Private Message
onclick attribute is not working on mobile
[3Replies]
31-Aug-2017 08:49 AM
Forum:
Using jQuery
Hi,
please I have this code
<optgroup label="Service Group">
<option class="dropdown-item" onclick="testFunction()">service 1</option>
</optgroup>
and when I click on this option from desktop, testFunction runs perfectly, but when I click on it from my mobile browser nothing happens.
function testFunction() {
jQuery('#test.recommend_link').show();
jQuery('.recommend_link').not('#test').hide();
}
How could I solve this problem??
My script is working in firefox and not working in chrome
[7Replies]
22-May-2017 06:00 AM
Forum:
Using jQuery
Hi,
I have this script working in firefox, but it's not working in chrome, I added this script before </body> directly, what should i do????
<script>
// Select City
$(document).ready(function () {
$('option[value="alexandria"]').click(function () {
$("#city_service").html('<a class="dropdown-item text_right" href="#" onclick="myService_alex1()">خدمة (1)</a><a class="dropdown-item text_right" href="#" onclick="myService_alex2()">خدمة (2)</a><a class="dropdown-item text_right" href="#" onclick="myService_alex3()">خدمة (3)</a>');
});
$('option[value="minya"]').click(function () {
$("#city_service").html('<a class="dropdown-item text_right" href="#" onclick="myService_minya1()">خدمة (4)</a><a class="dropdown-item text_right" href="#" onclick="myService_minya2()">خدمة (5)</a>');
});
});
// Select Service
function myService_alex1() {
$('#recommend_alex1').show();
$(".recommendation").not("#recommend_alex1").hide();
$("#recommendations").css("margin-bottom", "51px");
}
function myService_alex2() {
$('#recommend_alex2').show();
$(".recommendation").not("#recommend_alex2").hide();
$("#recommendations").css("margin-bottom", "51px");
}
function myService_alex3() {
$('#recommend_alex3').show();
$(".recommendation").not("#recommend_alex3").hide();
$("#recommendations").css("margin-bottom", "51px");
}
function myService_minya1() {
$('#recommend_minya1').show();
$(".recommendation").not("#recommend_minya1").hide();
$("#recommendations").css("margin-bottom", "51px");
}
function myService_minya2() {
$('#recommend_minya2').show();
$(".recommendation").not("#recommend_minya2").hide();
$("#recommendations").css("margin-bottom", "51px");
}
</script>
Thanks in advance
«Prev
Next »
Moderate user : Mona Abdelkader
Forum