Here's what I want to do. Get the value of one field and insert it into another. The catch is I don't know the IDs or names of the fields. I can select the first element using the title and put the contents into a variable. I have not been able to figure out how put that variable into the second field (basic text input) which I have selected by the title again. I've tried attr(), prop(), text(), val(), etc... This has to be simple but I'm lost.
- var ct = $("select[title$='Content Type'] option:selected").text();
- $("select[title$='SPForm']") ?????? = ct;
If it can't be done this way is there a way to get the ID after I've selected by title?
Thanks
Tim