--- layout: default nav: attributes > ic-prompt ---

## `ic-prompt` - The Prompt Attribute

### Summary

The `ic-prompt` attribute tells Intercooler to prompt the user for input before issuing an AJAX request. The input is included in the `ic-prompt-value` parameter of the request. If you wish to change this, you can use the `ic-prompt-name` attribute to override it.

If the user cancels the prompt, no request will be made.

### Syntax

The value of the `ic-prompt` attribute should be a string prompting the user for input.

This attribute may be placed on parent elements, allowing you to specify behavior across multiple elements.

### Dependencies

The `ic-prompt` attribute has no effect on dependencies.

### Example

      <button ic-post-to="/target_url" ic-prompt="What's your name?">Click Me!</button>