I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index » Products » LaTeX Equation Editor »

Use LaTeX-Editor with multiple text fields sharing the same ID

andi.novak\′s Photo
9 Aug 12, 5:15PM
(1 reply)
Use LaTeX-Editor with multiple text fields sharing the same ID
Hello!

I habe math exercises consisting of several items, each items contains a form with one or more text fields for LaTeX input. Unfortunately I was not able to give each text field a unique id, which is way the different forms always have IDs like "inputUser1", "inputUser2" etc. and there are several of these text fields on one site.

My question is: Is the following possible? When I click on a text field, I want the embedded LaTeX editor to move to the closest "editor" div. And when I click on editor buttons, I want the LaTeX codes to be inserted at this specific text field.

Thanks a lot in advance!
CodeCogs\′s Photo
13 Aug 12, 1:51AM
Yes this is possible. Have a look at this page: http://www.codecogs.com/latex/example5.html

A link to the code is also available for download from: http://www.codecogs.com/latex/embedded.php Look aout half way down on the right side.
Currently you need to be logged in to leave a message.