Giter Club home page Giter Club logo

Comments (4)

NicolasCARPi avatar NicolasCARPi commented on August 25, 2024

If I understand correctly, you want to pass the id of the currently selected value to works.php?

Why don't you grab that id and send it in your query by using a function target instead of the url string.

See:

// target as a function example
$(".editable-text-full").editable(function(input, settings, elem) {
    console.log(input);
    console.log(settings);
    console.log($(elem).data('test'));
}, {});

from jquery_jeditable.

stemaste62 avatar stemaste62 commented on August 25, 2024

Thanks for your time, but I'm afraid I don't understand. I have to send the current select before the new selection is made.
When I recover the possibilities from the Json file, precisely.
I saw that example in the manual, but I didn't understand how to make it work for me
I think this is a basic functionality to use input select in a dynamic page. Instead it is so complicated ;-) sorry, but I'm not a very good programmer.
Since the value of the input select does not appear in html, but only the value.text, the only way is to go and see what is written in the DB.
For this I thought of sending the id directly to the program that generates the json file, because html id is id of db record for me.

https://intra.kiwynet.com/works.asp?q_act=READWORKS&q_id=845
https://intra.kiwynet.com/works.asp?q_act=READWORKS&q_id=572

another way to prepare a key in html span as optionvalue = "BLD" to be read by the function, it would be the best thing

do I tell lies?

from jquery_jeditable.

stemaste62 avatar stemaste62 commented on August 25, 2024

analyzing the function thoroughly I found that loadurl also sends a series of parameters including the id, so for me it is enough

q_act=READWORKS&0=q&1=&2=i&3=d&4=%3D&5=5&6=7&7=2&pk=845&=1614789130874

Thank you for any help

from jquery_jeditable.

NicolasCARPi avatar NicolasCARPi commented on August 25, 2024

ok great!

from jquery_jeditable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.