H
H
Happymalina2016-03-18 18:45:06
JavaScript
Happymalina, 2016-03-18 18:45:06

How to pull up the name of the product for which this window is called in JQUERY for a modal window?

Hey! Guru, tell me .. There is such a task .. for sure it is simply solved, but it is urgent, but I can’t figure it out .. there is a table row

<tr class="odd">
        <td>
           <span class="title"><a href="/catalog/multi-split-sistemy/pumy-p140vkm2/">PUMY-P140VKM2</a></span>
         </td>
         <td>155 м<sup>2</sup></td>
         <td>15.5 кВт  / 18.0 кВт</td>
         <td>
             <span class="subtitle">
              <a class="info-link price-request" href="#"><span>По запросу</span></a>
            </span>
           </td>
    </tr>


and there is just a modal window from the bootstrap.

here are the screenshots:
line:
a3b1de434b88464f86017da1cc1e1ab9.png

window:
1b3b27935e3f427dabef08f5529a7b7c.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey, 2016-03-18
@Happymalina

Maybe

$('p.modal_title').text($(...selector.with.title...).text());

S
Stanislav Pochepko, 2016-03-18
@DJZT

you here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question