Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: Single List Item

Hehe - I know what you mean about spacing out; there's no need to feel embarrassed, as I am sure most of us have been there at some point in our careers!

In terms of getting rid of the "3;#" - I'm puzzled by something: are you using a People and Groups field to store your Location value, by any chance? Those characters usually appear for this reason; it seems odd that you're using this type of field, given this is a "Location" column? Or is it a case that "Location" actually stores the name of a person at that location, perhaps? ;-)

That all said - I'm not sure, but when you say you need to assign a variable to a "clicked" ID, do you mean something like this:
        $(xData.responseXML).SPFilterNode("z:row").each(function() {
            owsLocation = $(this).attr("ows_Location").slice(3);
            owsID = $(this).attr("ows_ID");
        });
by any chance? You will need to set up two global vars, one called owsLocation, and the other owsID, for this to work correctly.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>