Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Rajat
    @rajataudichya
    @NakulKhare did you find the solution?
    Rajat
    @rajataudichya
    I have used select before and it has many bugs its better to use custom ajax function and fetch the data when searched in input using keypress js function and show that data in the dropdown list.
    Rajat
    @rajataudichya
    The problem here is that when clicked on add a new element is made but then it resets itself when a value is selected removing the main class
    zdman135
    @zdman135
    anyone know where i can get react js help?
    Ana María Benites Rodríguez
    @anitabenites
    Anyone used before PhantomJS?
    Daniel Ruf
    @DanielRuf
    @anitabenites yes, but hiw is this related to jQuery?
    @zdman135 the React community uses Discord.
    See the reactiflux community @zdman135
    jzyds
    @jzyds
    Hello
    santoshbaruah
    @santoshbaruah

    I have some report page on my shared server , reports are in cahart.js and chart.min.js , which are worked fine on the local host , but my hosting provider not support js and nither permit me to install nodeJS in the shared server , can u Gide me how to embedded those js files to HTML.

    My chart files are created using Chart.js(chart.js and chart.min.js)

    sabahatullah
    @sabahatullah
    If I type manually it stays in fine
    Luke Leber
    @LukeLeber
    Hey all, is there a reason to use $('.selector').length versus $('.selector') when checking if an element exists?
    liyunhua520
    @jzylyh
    hi
    ehdaudrnr3
    @ehdaudrnr3
    [kop['
    안녕하세요\
    안녕하세요
    Daniel Ruf
    @DanielRuf
    @LukeLeber the seconds alsways return an object and so it is always true. Use the length check to be safe.
    PadharaHitesh
    @PadharaHitesh
    Hello All,
    Can we toggle disable/enable in iframe using the jquery when click the radio button?
    omarwebdesign
    @omarwebdesign
    Hey guys
    Does somebody has experience with Wavesurfer.js?
    Vishwa Jay
    @VishwaJay
    @LukeLeber $('.selector').length returns a value, while $('.selector') might return a whole lot of other things. Really, it's just about simplicity of the code, rather than for any solid requirement.
    @DanielRuf the object can be broken down and parsed, but it might also return a NaN, null, or variety of other things depending on the flavor being used... at least, that was my understanding.
    Daniel Ruf
    @DanielRuf
    @VishwaJay not exactly. jQuery does not return such things for the selector. It is always a selector but the length differs based on the collection.
    Sherlocked556
    @Sherlocked556
    $.ajax({url:"/checkout",timeout:10000,type:"POST",data:{restro:b,custo:a,loc:c,bill:bill,order:arr,slot:e,pay:f,room:g},success:(result)=>{
    console.log(result+" its here");
    },error:(x,y,error)=>{console.log(error)}});
    Hi everyone, above is my code and it's always timing out please help

    app.post("/checkout",isLoggedIn,(req,res)=>{
    for(var i=0;i<req.body.order.length;i++){ if(req.body.order[i].itname=="nullified") req.body.order.splice(i,1); i=0; } var orderpp={ restroname:req.body.restro, cusname:req.body.custo, deliveryadd:req.body.loc, bill:req.body.bill, items:req.body.order, deliveryslot:req.body.slot, payment:req.body.pay, roomdet:req.body.room }; console.log(orderpp.items); Order.create(orderpp,(err,neworder)=>{
    if (err) {
    req.flash("error",err.message);
    res.redirect("/index");
    } else {

       console.log(neworder +"jkdjkd");
    
     }

    })
    })

    This is the serverside code in node where I'm trying to retrieve data
    rushabh2001
    @rushabh2001

    alt

    Hey Developers,
    Do you think you know WordPress? Let's Meetup

    Join us in a discussion over-

    • Why WordPress is popular and powerful?
    • Wordpress Theme Structure
    • Theme and Plugin Installation
    • Building a Blog from scratch

    Having knowledge of web development is recommended.

    Connect with the young and knowledgeable developers on-
    Date: 20th July 2019
    Time: 4 pm Onwards
    Venue: Embtel Solutions
    501, SNS Business Park,
    Vesu, Surat

    https://goo.gl/maps/jYpJR8w6EU6zdsbt7

    For any query contact on - 7990433775
    (You will get a confirmation call)

    What are you waiting for!? Click on the link below to register.

    https://embtelsolutions.in/meet-up/

    Mohsin AR
    @iammohsinar

    hello experts of jquery i have seen so many examples on internet regarding focus on next input/select by left and right arrow key but those are for simple html

    
    $(':input').keypress(function() {
        $(this).next(':input').focus();
    });
    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <input placeholder="1">
    <input placeholder="2">
    <input placeholder="3">
    <input placeholder="4">
    <input placeholder="5">

    i want it like i have

    <form>
    <div>
    <div>
    <input placeholder="1">
    </div>
    </div>
    <div>
    <div>
    <input placeholder="2">
    </div>
    </div>
    </form>
    what will be the code for above or like find input from all html which has css class of "move"
    Sharath CB
    @sharath747

    Hi all,

    I am using formbuilder inside my custom wordpress plugin. While creating the form fields i need to incorporate a conditional form logic to one of my form field (checkbox)

    To explain you the scenario, i have 2 select dropdowns & one "Terms and Condition" checkbox in my form,
    first select dropdown is for selecting the country & another select dropdown is for selecting the states of that country, at the time of form creation the country & state select dorpdowns are left blank,
    based on the id's of these 2 fields i am injecting the countries & states dynamically at the time of page load in the browser.
    here i need to have a conditional logic to my checkbox field, when the country is selected to USA i need to hide the terms & condition checkbox field, for all other countries i need to show the terms & condition checkbox.

    I was able to achieve this by writing an external jquery script which checks for the condition on change of the country select dropdown, but i dont want to hardcode the condition in my script,
    i want to have a conditional logic field to be shown in my checkbox edit configuration, where i can configure for which country name i need to hide the checkbox.
    how can i achieve this in formbuilder, i am using the latest version of form builder (formBuilder v3.2.5)

    here is the my codepen link https://codepen.io/Sharath747/pen/WVwggP

    giuliohome
    @giuliohome
    Hi all, I've opened volosoft/jtable#2223 in the jquery jtabel repo, but - AFAICS - it seems to be due to the jquery .serialize()
    Why are different jquery version returning different serialization results? For one version I see spaces rendered as %20 which is fine to me while from jquery-1.9.1 I see + for encoding spaces, which is an issue for me
    giuliohome
    @giuliohome
    Ok, this has been fixed in the latest jQuery version
    Nikola Stekovic
    @RigaNik
    gotta update one huge app jquery-2.1.1 to latest jquery version, any steps where should i start and what would be the easiest way without having to test everything and worry about breaking stuffs?
    anoopmb
    @anoopmb

    @anoopmb
    hi i am trying include one template in my laravel application but it gives me jquery illegal invocation error but the template html working fine without laravel
    any idea?

    Uncaught TypeError: Illegal invocation
        at w.fn.init.offset (jquery-3.3.1.min.js:2)
        at HTMLAnchorElement.<anonymous> (custom.js:418)
        at HTMLAnchorElement.dispatch (jquery-3.3.1.min.js:2)
        at HTMLAnchorElement.y.handle (jquery-3.3.1.min.js:2)
    offset @ jquery-3.3.1.min.js:2
    (anonymous) @ custom.js:418
    dispatch @ jquery-3.3.1.min.js:2
    y.handle @ jquery-3.3.1.min.js:2

    this is the code above error points

    var target = $(this.hash);
            target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
            if (target.length) {
                event.preventDefault();
                $('html, body').animate({
                    scrollTop: $(target).offset().top
                }, 1000, function() {
                    var $target = $(target);
                    $target.focus();
                    if ($target.is(":focus")) {
                        return false;
                    } else {
                        $target.attr('tabindex','-1');
                        $target.focus();
                    }
                });
    dinesh
    @1532j0004kg
    hello
    Any one aware of getJson() inside the for loop
    jawa
    @jawa12787066_twitter
    Hi friends, Actually I'm using materialize date picker
    But, i couldn't able to access the date picker when we create a textbox using Jquery
    I have attached my code below

    <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous">
    </script>
    <!-- Compiled and minified CSS -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">

    <!-- Compiled and minified JavaScript -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>

    <button id="add">add</button>

    <div id="createtextbox">

    </div>
    <!-- <input type="text" class="datepicker"> -->

    <script>
    $(document).ready(function(){
    $('#add').click(function(){
    $("#createtextbox").append('<input type="text" class="datepicker" value="" />');
    });
    document.addEventListener('DOMContentLoaded', function() {
    var elems = document.querySelectorAll('.datepicker');
    var instances = M.Datepicker.init(elems, options);
    });

    });
    </script>


    Could you please anyone help for me?
    dinesh
    @1532j0004kg
    What is the option denotes here!?
    And by way check out the error if possible in console table @jawa12787066_twitter
    What is M!?