Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

send data with window.location.href

<pre lang="HTML"> $('#getPrice').click(function () {
                var discountAmount = $('#lblDiscountAmount').text();
                var productId = $(this).parent('td').parent('tr').attr('data-productid')
                alert(productId);
                alert(discountAmount);
                //if (!discountAmount) { return; }

                location.href = "Products/helloPrice?ProductId=" + productId;
               // This is not invoking the action method.

            });
Comment

PREVIOUS NEXT
Code Example
Javascript :: JavaScript querySelector - Group selector 
Javascript :: nested json example 
Javascript :: react native asyncstorage setItem 
Javascript :: downlaod file from website raect 
Javascript :: gitignore jsconfig 
Javascript :: add types to React$Context in flow 
Javascript :: npmjs invoice template 
Javascript :: jquery ui music player 
Javascript :: display js variable in html without + 
Javascript :: check trigger is human jquery 
Javascript :: https://tutorial.eyehunts.com/js/javascript-escape-backslash-example-code/ 
Javascript :: applicature 
Javascript :: Private slots are new and can be created via Private slot checks 
Javascript :: change class on resize window jquery 
Javascript :: typeorm sqlite Using Repositories 
Javascript :: Starting the project 
Javascript :: convert json to .env node 
Javascript :: javascript float not showing 0 
Javascript :: Error: listen EACCES: permission denied 5000; 
Javascript :: Example code of using inner blocks in Wordpress with ES5 
Javascript :: ngFor fake 
Javascript :: Async restricted or not 
Javascript :: Getting Specific Element Properties 
Javascript :: react keydown event listener freecodecamp 
Javascript :: sempole reguler expretion 
Javascript :: array[-1] not working 
Javascript :: JS Recursive getLength of Array 
Javascript :: react Fractional rating 
Javascript :: document.elementsFromPoint 
Javascript :: discord javascript error on startup 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =