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

  • SEARCH
  • Home
  • 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 8004573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:57:30+00:00 2026-06-04T16:57:30+00:00

I have implemented search by map function on my web-site. The map have some

  • 0

I have implemented search by map function on my web-site. The map have some divisions that are clickable and send a value to the controller.

<form name="myform" action="index.php?option=com&amp;task=seacrh_by_map" method="post">
<dd id="imgDI">
<a id="DI" href="javascript:getvalue('DI')" 
</a>
</dd>
<dd id="imgDII">
<a id="DI" href="javascript:getvalue('DII')" 
</a>
</dd>
<input type="hidden" name="my_value" value="" />    
</form>


<script language="JavaScript" type="text/javascript">
<!--
function getvalue (my_value)
{
document.myform.my_value.value = my_value;
document.myform.submit() ;
}
-->
</script>

After sending this form, the controller gives an answer (results of search) and the map returns to its original position. Is there a way to prevent that? The map should show the division that was chosen. Is there a way to send a value to controller using js without map form refresh?

  • 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-04T16:57:32+00:00Added an answer on June 4, 2026 at 4:57 pm

    You can use AJAX and JSON for this

    AJAX = a method of retrieving resources asynchronously via HTTP using JavaScript

    JSON = stands for JavaScript Object Notation

    Simple Example is Here

    AJAX stands for asynchronous JavaScript and XML, a scary-sounding mix
    of technologies, but don’t let the buzzwords scare you. Think of AJAX as a
    programming technique that combines several technologies. And remember,
    you’re in luck because jQuery simplifies AJAX for you.

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

Sidebar

Related Questions

I have implemented a simple search function that highlights a row in a DataGrid
I have an app that includes a search feature. This feature is implemented by
I have implemented a search function using Castel Active Record. I thought the code
I have a search implemented on my site, it runs the following queries: SELECT
I have implemented an autocomplete / instant search on a mobile application that I
In my website I have implemented search feature using full-text search. It works fine
I have implemented the search method for a UITableView populate from a NSArray (mylist):
I have already implemented a functionallity, when keeper automatically moves using breadth first search
I haven't implemented a search feature before and feel a bit stuck. I have
I have a search screen in my WPF application. The screen is implemented as

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.