« first day (1547 days earlier)      last day (2570 days later) » 

5:36 AM
@derp It working fine with the main function which handle the DOM :
var $ =(
// DOM usage
function $(id) {
if (id.includes("#")) {
return document.getElementById(id.replace("#",""));
}else if(id.includes(".")) {
var x = document.getElementsByClassName(id.replace(".",""));
for (var i = 0; i < x.length; i++) {
return x[i];
}
}else {
var x = document.getElementsByTagName(id);
for (var i = 0; i < x.length; i++) {
return x[i];
}
}
}
);
 
1 message moved from JavaScript
 
5:57 AM
okay okay I think now you can't understand me at all , I can use prototype out of variable like :

$.alert = function(id) {
alert(id)
}

and it works well with $.alert("bla") , what I need is the alert or whatever read his parameter from the main function like this : $("bla").alert
 
1 message moved from JavaScript
 
 
8 hours later…
2:20 PM
assuming that anybody everybody from India is bad is a racist fuck
1 message moved from CHATLAB and Talktave
 
2:33 PM
Share your code, so it will be easy to answer. — Jakir Hossain 4 mins ago
1
Q: Mobile UI Adjustment for wordpress

Emmie CappsI developed a wordpress and my page will have elements like below image Consider Boxes as image and lines as text information. It displays perfectly in desktop view (Image on left and text on right which will be vice versa for next line) But when i look at mobile view, it displays like below...

This is my question.. Very tricky to solve..
Anyone who are interested can have a look..
 
2:51 PM
4 messages moved from HTML / CSS / WebDesign
 
 
5 hours later…
7:40 PM
return gulp.src(bower(), {
base: 'bower_components'
})
.pipe(jsFilter)
.pipe(order([
"bower_components/jquery/**/*.js",
"bower_components/angular/**/*.js",
"bower_components/moment/**/*.js",
"bower_components/**/*.js"
], {
base: './'
}))
.pipe(browserify({
insertGlobals : true,
debug : !gulp.env.production
}))...etc
 
1 message moved from JavaScript
 
8:38 PM
$('#AddNewPrivilegeButton').on('click', function () {
            var priv = $('#PrivilegeDDL').val();

            var newPrivilege = {
                IndividualId: individualId,
                IndividualPrivilegeLevelId: priv,
                DateAssigned: moment().format()
            };

            $.ajax({
                type: 'POST',
                url: '/api/individuals/createPrivilege',
                data: newPrivilege,
                success: function (e) {
                    console.log(e.individualPrivilegeLevel);
 
1 message moved from JavaScript
 

« first day (1547 days earlier)      last day (2570 days later) »