Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Netsu
    @WeebNetsu
    Hello Lampenschakelen :)
    lampenschakelen
    @lampenschakelen
    if else statement?
    var deliverzipcode = empty use var zipcode
    Netsu
    @WeebNetsu

    if(deliverzipcode == false){
    return zipcode
    }

    Is this what you mean?

    lampenschakelen
    @lampenschakelen
    I wil try it
    almost there...
    @WeebNetsu i hope you can help me out ;-)
    Netsu
    @WeebNetsu
    Oh wow... I don't quite know what is going on in the code
    lampenschakelen
    @lampenschakelen
    I like to convert xml to csv epxort
    in the right format.
    almost there ;-)
    Netsu
    @WeebNetsu
    Ohh, I see it now!
    Where should I help with the code tho?
    lampenschakelen
    @lampenschakelen
    if the address details from deliverzipcode are empty.
    I like to use zipcode
    Netsu
    @WeebNetsu
    Sorry dude, I don't really understand what is going on in there, I don't think I can help :'(
    lampenschakelen
    @lampenschakelen
    lampenschakelen
    @lampenschakelen
    Can you create if statement?
    Netsu
    @WeebNetsu
    What you added there is looks fine, if deliverzipcode is = to '' or ' ' or NaN or undefined etc. then it will return zipcode
    good luck
    @chuzhixin

    超棒的vue跨平台前端基础框架vue-admin-beautiful分享,适合学习,找工作,同时兼容手机,电脑,平板完全开源免费

    演示地址:

    http://chu1204505056.gitee.io/vue-admin-beautiful

    演示地址2:

    http://mpfhrd48.sanxing.uz7.cn/vue-admin-beautiful/

    源码地址:

    https://github.com/chuzhixin/vue-admin-beautiful

    欢迎star

    good luck
    @chuzhixin

    超棒的vue跨平台前端基础框架vue-admin-beautiful分享,适合学习,找工作,同时兼容手机,电脑,平板完全开源免费

    演示地址:

    http://chu1204505056.gitee.io/vue-admin-beautiful

    演示地址2:

    http://mpfhrd48.sanxing.uz7.cn/vue-admin-beautiful/

    源码地址:

    https://github.com/chuzhixin/vue-admin-beautiful

    欢迎star超棒的vue跨平台前端基础框架vue-admin-beautiful分享,适合学习,找工作,同时兼容手机,电脑,平板完全开源免费

    演示地址:

    http://chu1204505056.gitee.io/vue-admin-beautiful

    演示地址2:

    http://mpfhrd48.sanxing.uz7.cn/vue-admin-beautiful/

    源码地址:

    https://github.com/chuzhixin/vue-admin-beautiful

    欢迎star超棒的vue跨平台前端基础框架vue-admin-beautiful分享,适合学习,找工作,同时兼容手机,电脑,平板完全开源免费

    演示地址:

    http://chu1204505056.gitee.io/vue-admin-beautiful

    演示地址2:

    http://mpfhrd48.sanxing.uz7.cn/vue-admin-beautiful/

    源码地址:

    https://github.com/chuzhixin/vue-admin-beautiful

    欢迎star超棒的vue跨平台前端基础框架vue-admin-beautiful分享,适合学习,找工作,同时兼容手机,电脑,平板完全开源免费

    演示地址:

    http://chu1204505056.gitee.io/vue-admin-beautiful

    演示地址2:

    http://mpfhrd48.sanxing.uz7.cn/vue-admin-beautiful/

    源码地址:

    https://github.com/chuzhixin/vue-admin-beautiful

    欢迎star

    Ashwin Divakaran
    @AshwinD95
    Hi all, glad to join this group.
    I am looking for a method to retrieve the value of the previous page URL, have tried window.history.back() but calling this method simply redirects back to the previous page. I will need to store this in a variable. How can I do this?
    sahiljuneja2
    @sahiljuneja2
    hi'
    $(document).ready(function () {
    $("#MySkills").change(function () {
    var value = $('select#MySkills option:selected').val();
    alert(value);
    function myfunction() {
    var val1 = $('select#MySkills option:selected').val();
    var val2 = $('select#MySkills option:selected').val(2);
    $.ajax({
    type: "post",
    url: "/Manager/GetManager",
    data:{ "val1": val1, "val2": val2 },
    success: function (data) {
    alert(data);
    }
    })
    }
    please tell whats wrong in this query its not calling the method
    Zerka1982
    @Zerka1982
    hello guys
    Can anybody check this code https://codepen.io/Zerka1982/pen/eYZeQdm ?
    When I click sign up button I suppose to see the form
    sahiljuneja2
    @sahiljuneja2
    hi
    Ashwin Divakaran
    @AshwinD95
    Hi all, I am looking to run code after a specific html element dynamically appears on the page. Note that this element does not exist even after $(document).ready.
    This element will appear only on some actions
    Can I try this
    $( "#ID" ).ready( handler ) { }
    Shivam Panjeta
    @shivampanjeta

    I have a map of map in JS something like < Boolean , <StartDate, EndDate> >
    On being given a date, I have to return the boolean value corresponding to the period it belongs to.

    statusFlagMap = < Boolean , <StartDate, EndDate> >
    
    checkFlagValueForDate(date) {
          return the Boolean Value from statusFlagMap corresponding to the period the inputted date belongs to
    }

    Not able to get how to resolve this, can anybody help with this if there is any straight-forward way

    I am open to updating the Object type of statusFlagMap from map of map to something else also.

    Zerka1982
    @Zerka1982
    @Zerka1982
    Hello guys
    I am using this the following function to search for specific elements ... is there a way I can skip the empty space, if there is a name which starts with that ?
    function searchElement (query) {
      var result = searchFunctionalityData.filter(  word => {
        var regex = new RegExp(`^${query}`, 'gi'); 
        return word.name.match(regex);
      });
      if(query.length === 0) {
          result = [];
          document.getElementById("searchResultsID").innerHTML = '';
        }
      outputHtml(result);
    };
    _
    Zerka1982
    @Zerka1982
    I got it!
    无限风灵
    @WuLex
    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title></title>
        <script type="text/javascript" src="js/html2canvas.js"></script>
        <script src="js/jquery-2.1.1.min.js"></script>
        <style>
            .info { background: #ffff66; }
        </style>
    </head>
    
    <body>
    <input type="button" id="btn" value="点击我"/>
    <input type="button" id="delAll" value="删除全部绑定函数"/>
    <input type="button" id="delFun2" value="删除第二个绑定函数"/><br/>
    <div class="info"></div>
    <script type="text/javascript">
        $(document).ready(function() {
            // 为id为btn的按钮添加绑定事件  
            $("#btn").bind('click',
                fun1 = function() {
                    $(".info").append('<p>绑定函数1</p>');
                }).bind('click',
                fun2 = function() {
                    $(".info").append('<p>绑定函数2</p>');
                }).bind('click',
                fun2 = function() {
                    $(".info").append('<p>绑定函数22</p>');
                }).bind('click',
                fun2 = function() {
                    $(".info").append('<p>绑定函数222</p>');
                }).bind('click',
                fun3 = function() {
                    $(".info").append('<p>绑定函数3</p>');
                });
    
            $("#delAll").bind('click',
                function() {
                    $("#btn").unbind(); //删除全部绑定事件  
                });
    
            $("#delFun2").bind('click',
                function() {
                    $("#btn").unbind('click', fun2); //删除第二个绑定函数  
                });
        })
    </script>
    </body>
    
    </html>
    what is
    going on?
    This function 'fun2' cannot be completely removed
    why?
    why?
    three same fun2
    谁能帮忙 解释下啊??guys
    Chinese is better ,my English is terrible...
    My Chinese is better, but my English is worse
    无限风灵
    @WuLex
     if ( ( mappedTypes || origType === handleObj.origType ) &&
                        ( !handler || handler.guid === handleObj.guid ) &&
                        ( !tmp || tmp.test( handleObj.namespace ) ) &&
                        ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
    @Zerka1982 ????how are you?
    Weboholics
    @Weboholics
    Hi, as a longtime jquery user, I think jquery ajax shouldn't be included by default in jquery 4.0. We migrated to fetch 2 years ago. With removal of ajax jquery would be even more slim. What do others think about this idea? Should I make a Issue report in github?
    Weboholics
    @Weboholics
    Sorry - saw now that jquery-slim doesn't contain ajax... so forget my previous question..