javascript - Gender API jQuery with classic ASP -


i'm not expert in jquery/ajax - work classic asp.

i'm using gender api - https://gender-api.com/en/ discover gender of user based on first name.

they had api/jquery plugin:

https://gender-api.com/en/jquery-plugin

the api has limit of free use.

because of idea gender of each user when log on site , record gender on sql table.

then when same user returns - read sql table - , no more api (reducing free use)

my great problem is, how can gender result jquery plugin (i think return result on client) if asp code work on server?

it's possible? ideas?

thanks lot!

update 1:

i got gender using ajax:

$.get( "https://gender-api.com/get?name=daniel", function( data ) {   $( "body" )     .append( data.gender ); // }, "json" ); 

this append gender on html body..

i think best way send gender asp redirect page "update.asp" page - like: "update.asp?gender=xxx"

how can redirect page usign jquery?


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -