Pass Parameters through ajax call – ajax url

I am trying to pass value parameter through the ajax call to the controller. It is a date value. I am struggling to find a way to pass parameters through this ajax url. Please help.

 function dataTable() {
    var value = $("#somedatevalue).val();
        "processing": true,
        "paging": false,

        "language": {
            processing: "<span class='processing-message'><i class='fa fa-circle-o-notch fa-spin'></i> Processing...</span>"
        ajax: {

            url: $('table#thisTable').data("ajaxurl"),
            type: "POST",
            datatype: "json",

        "columns": [
                "data": "column1",
                "data": "column2",
                "data": "column3",
                "data": "column4",
                "data": "column5",
                "data": "Url",
                "render": function (data) {
                    return '<a class="btn btn-info" href="' + data + '">Select</a>';
        "dom": 't<"col-lg-3"l><"col-lg-6"p><"col-lg-3"i>'

134 thoughts on “Pass Parameters through ajax call – ajax url”

  1. Appreciating the commitment you put into your blog and detailed information you provide.
    It’s good to come across a blog every once in a while that
    isn’t the same out of date rehashed material. Great read!

    I’ve bookmarked your site and I’m including your
    RSS feeds to my Google account.

  2. I’m truly enjoying the design and layout of your website.
    It’s a very easy on the eyes which makes it much more enjoyable for me to come
    here and visit more often. Did you hire out a designer to create your theme?
    Exceptional work!

  3. Howdy! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not
    seeing very good success. If you know of any please share.
    Appreciate it!

  4. Undeniably believe that which you stated. Your favorite
    reason appeared to be on the internet the easiest thing to be aware of.

    I say to you, I certainly get irked while people
    think about worries that they plainly do not know about.
    You managed to hit the nail upon the top as well as defined out the whole thing without
    having side-effects , people could take a signal.
    Will probably be back to get more. Thanks

  5. When I originally commented I clicked the “Notify me when new comments are added”
    checkbox and now each time a comment is added I get three emails with
    the same comment. Is there any way you can remove people
    from that service? Thanks!

  6. Hello, i read your blog occasionally and i own a similar one and i was just
    curious if you get a lot of spam feedback?

    If so how do you prevent it, any plugin or anything you can suggest?
    I get so much lately it’s driving me insane so any assistance is very much appreciated.

  7. Aw, this was a very nice post. Spending some time and actual effort to make a really good
    article… but what can I say… I procrastinate a whole lot and don’t seem to get nearly
    anything done.

  8. 592919 926664Id need to check with you here. Which is not something I normally do! I enjoy reading a post that will make people feel. Also, thanks for permitting me to comment! 518902

  9. hello!,I really like your writing so much! proportion we
    keep in touch more about your post on AOL? I require a specialist on this area to unravel my problem.
    Maybe that’s you! Taking a look ahead to see you.

  10. I’m not positive where you are getting your info, but good topic.
    I must spend some time finding out more or figuring out more.

    Thanks for wonderful information I was looking for this information for my mission.

  11. Just want to say your article is as astonishing. The
    clarity to your submit is just cool and that i can assume
    you’re a professional on this subject. Fine along with your permission let me to seize
    your RSS feed to stay up to date with impending post. Thank you one million and
    please carry on the gratifying work.

  12. Its like you learn my thoughts! You appear to know a lot approximately this, like you wrote the
    book in it or something. I feel that you just could
    do with some p.c. to pressure the message house a little
    bit, however instead of that, this is fantastic blog. A
    great read. I’ll definitely be back.

  13. I loved as much as you will receive carried out right here.
    The sketch is tasteful, your authored material stylish.
    nonetheless, you command get got an shakiness over that you
    wish be delivering the following. unwell unquestionably come more
    formerly again since exactly the same nearly very often inside case you shield this hike.

    Feel free to visit my homepage … raycon


Leave a Comment