Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form id="formID">
- <input class="flt-right marg-top-50" type="submit" value="Next" name="next"/>
- </form>
- <form>
- <?php preg_match_all('/(d[d.]*)/', $tesco_search_array_price[$key], $matches);?>
- <input type="checkbox" class="chkbox" name="ingredients" value="<?php echo $name[$key]; ?>" data-price=" <?php echo $matches[0][0];?>">
- </form>
- $('#formID').submit(function(){
- var ajaxURL = 'ajax.php';
- $.ajax({
- type: 'POST',
- url: ajaxURL,
- data: {'name': text,'price':price },
- success: function(msg) {
- }
- });
- return false;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement