Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8899985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:59:33+00:00 2026-06-15T00:59:33+00:00

Using Google and this site, I’ve made a simple form to send data with

  • 0

Using Google and this site, I’ve made a simple form to send data with jQuery.

My HTML code:

<a href="javascript:AddPoke('{news-id}', 'poke')">ADD</a>
<div class="area"></div>

And jQuery:

function AddPoke(id, action){
 var response = $('#dle-poke').val()
  $.post(dle_root + 'engine/ajax/poke.php', {id: id, text: response, action: action},
   function(data){
    if (data == 'ok') {DLEalert(dle_p_send_ok, dle_info);}
    else {DLEalert(data, dle_info);}
});

$('.area').append("<div id='dlepopup'><textarea name='dle-poke' id='dle-poke'></textarea></div>");
$("#dlepopup").slideDown(700);
};

The problem is that I don’t know how to make a send or submit button to post this data! I am very inexperienced with jQuery and I would appreciate any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T00:59:34+00:00Added an answer on June 15, 2026 at 12:59 am

    HTML CODE:

    <input type="text" name="first_name" id="first_name" />
    <input type="text" name="last_name" id="last_name" />
    <a href="javascript:void(0);" onclick="javascript:submit_value();" >Add </a>
    

    Javascript Code:

    <script>
        function submit_value()
        {
           alert($('#first_name').val());
           alert($('#last_name').val());
        }
    </script>
    

    When you have enter any text in textfields then click on ADD link to display the alert message here display the text as you have write in textfileds.

    Note: Please include the latest jQuery file in head tag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm following the barcode tutorial for this site: http://brismith66.blogspot.com/2010_07_01_archive.html using the google code: http://code.google.com/p/wsdl2objc/
I have copied a hello world program in cuda using this site http://code.google.com/p/stanford-cs193g-sp2010/wiki/TutorialHelloWorld The
I'm using the Google API to get a user's location on this site .
How to load google map geo-location not using kml. Like this site: http://www.housingmaps.com/
I found this code using Google. private int RandomNumber(int min, int max) { Random
This is my first time using Google Analytics Ecommerce Tracking to get data for
I'm using Google Maps Javascript API for showing a map in my site with
After google searching, searching this site as well as jQuery found there was no
I have this custom made site using Jekyll: http://madhur.github.com/ When I view this site
So I have this site that dynamically posts content using jquery and php. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.