Search:
Type: Posts; User: Jason Becker
Search :
Search took 0.01 seconds.
rnd me. Thank you for the reply. What's about browser supporting. IE6, Opera 9.6....
Hello I need to search particular element in DocumentFragment. My code is something like this:
var fragment = document.createDocumentFragment()
var p1 = document.createElement('p');
...
Hello. I have the empty object and two variables:
var obj = {}, t1 = 'prop1', t2 = 'prop2;'
Why don't I can doing so?:
obj[t1][t2] = 'test';
rnd me. I want to hide a structure of my AJAX requests and response only so I have to use encryption.
I did not use HTTPs yet. Can the user view the structure JSON response via Firebug in this case ?
Hi! I need to encrypt my AJAX requests and responses from the server. As the message format I use simple JSON. Can you advise any libraries about it?
Hello I want to store some custom property in HTML element directly, like this:
var p = document.createElement('p');
p['custom'] = test;
.....
window.alert(p['custom']);
Will it works...
aj_nsc Thank. And the last question. Is there function I may to see all element event handlers?
aj_nsc I'm sorry. But I don't understand. What should I use to copy only custom attributes without event handlers?
aj_nsc Thank you for the reply. So should I use $.clone() instead DOM::cloneNode() ? But what is about eventHandlers? They are copied too?
Hello. I need to use $.data() JQUERY method something like this:
<html>
<body>
<p id="par">Something...</p>
</body>
<script type="text/javascript">
...
Hello. I have a large HTML table, thus, it doesn't resides at an one print page. I want the rows transferred to the next page completely rather than partly.
Please help me how can I do it?
Thanks!
rnd me . Thank you very much. Your code works fine for me.
Good luck!
Hello rnd me Thank you for the reply. Your code works fine for a single object. But if I have array something like as the following:
var arr = [
{
"Products": [
{
...
Thank you for the reply. I think the following is that I need:
function findInObject(obj, prop, val) {
if (obj !== null && obj.hasOwnProperty(prop) && obj[prop] == val) {
return obj;...
Hello everyone. I have the following JSON-like array:
var arr = [
{
"Products": [
{
"id": "a01",
"name": "Pine",
...