---
title: "how to find html input box value using jQuery"  
description: "how to find html input box value using jQuery"  
author: "Anonymous User"  
published: 2018-06-18  
updated: 2018-06-18  
canonical: https://www.mindstick.com/forum/34517/how-to-find-html-input-box-value-using-jquery  
category: "jquery"  
tags: ["jquery"]  
reading_time: 1 minute  

---

# how to find html input box value using jQuery

how to find [html input](https://www.mindstick.com/forum/157343/how-to-prevent-a-user-from-adding-same-character-over-and-over-in-html-input-box-using-javascript) box [value](https://www.mindstick.com/articles/23219/an-optimized-description-adds-value-to-experience-and-in-turn-effectively-guest-posting-packages) using jQuery

## Replies

### Reply by Prakash nidhi Verma

[HTML](https://www.mindstick.com/articles/1530/design-a-simple-stylish-calculator-using-html-css-and-javascript) [input](https://www.mindstick.com/forum/159209/how-can-i-read-convert-an-input-stream-into-a-string-in-java) box value using jQuery:

## jQuery val() Method :

HTML <input> with an id attribute id='MindstickId', you can more simply just use:

```
$(function () {   $('#MindstickId').val("Software");
});
```

\

Example: Set the value of the <input> field..

```
$("button").click(function(){
  $("input:text").val("Mind stick");
});
```

Syntax:

```
$(selector).val()  // without set any value
$(selector).val(value) //with set a value
$(selector).val(function(index,Mindstick))
```

I hope, It will be helpful for you.

Happy Coding :)


---

Original Source: https://www.mindstick.com/forum/34517/how-to-find-html-input-box-value-using-jquery

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
