Replace your line
console.log('hello ' + $('i_link').val())
with
console.log('hello ' + $('#Story_Link').val())
You tried to get the value from a <p>
tag and you missed the .
class selector.
My solution will lookup for your Story_Link textarea I used the hash sign for finding that textarea by id.
Here you will find more information about how to find elements in HTML DOM with jquery:
Here I got you a working example:
function myFunction() {
console.log('hello ' + $('#Story_Link').val())
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<p class="i_link">Link:</p>
<textarea name="link" id="Story_Link" cols="100" rows="1"></textarea><br>
<!--!name-->
<p class="i_name">Name:</p>
<textarea name="name" id="Story_Name" cols="50" rows="1"></textarea><br>
<!--!number-->
<p class="i_number">Number:</p>
<textarea name="number" id="Story_Number" cols="1" rows="1"></textarea><br>
<!--!author-->
<p class="i_author">Author:</p>
<textarea name="author" id="Story_Author" cols="50" rows="1"></textarea><br>
<button onclick="myFunction()">Click me</button>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…