Dynamically assigning html input box value to JS buttons

pratyushbgr
Is there a way to dynamically assign quantity or price from input box of HTML to the kite.add and then place the orders. For example. I want to change the quantity from a input box in the html page.
kite.add({
"exchange": "NSE",
"tradingsymbol": "INFY",
"quantity": document.getElementById("quantity").value,
"transaction_type": "BUY",
"order_type": "MARKET"
});
  • sujith
    I would suggest filling the complete form at your end and then invoke Kite Publisher.
Sign In or Register to comment.