14,053 Topics
|
|
hi on my blog page, i'm trying to manually add in group check boxes under groups. initially there is a list of group checkboxes from user's "my groups" to choose from, but i want to add more groups that don't exist in "my groups". drupal code for the form looks … |
|
Hey friends, I have a site that I've put a lot of time and effort into and in the midst have also been using it to learn JavaScript. I'm pretty proficient at PHP so the site was mostly coded in PHP, but now I've decided it would be best use … |
|
Hi all, I'm trying to match all PHP reserved keywords in a string, but this string also contains a bunch of \4 characters [i]between[/i] the letters. So, for example, if I have the string [ICODE]'f\4u\4n\4c\4t\4i\4o\4n@@@some other weird characters@@@'[/ICODE] and the array [ICODE]['abstract','and','array','as','break','case','catch','class','clone','const','continue','declare','default','do','else','elseif','enddeclare','endfor','endforeach','endif','endswitch','endwhile','extends','final','for','foreach','function','global','goto','if','implements','interface','instanceof','namespace','new','or','private','protected','public','static','switch','throw','try','use','var','while','xor'][/ICODE] and I want to make 'function' match '\4f\4u\4n\4c\4t\4i\4o\4n\4', … |
|
Hello. I have this code.. [code] <input type="hidden" id='sessio' value=<?php echo $_SESSION['iden']; ?>> <script type="text/javascript"> var x = document.getElementById('sessio').value; window.location="index.php?link=2&var=" + x; </script> [/code] It works perfectly fine in IE but it won't work in firefox. Both link and var does not appear in the URL when I get to … |
|
hello all i am using a link on clicking which a new pop up window should open like [CODE]<a href="#" onclick="Popup(f_date,f_date1)"> Add more</a>[/CODE] function Popup(date,date1) { var f_date=document.getElementById("f_date").value; var f_date1=document.getElementById("f_date1").value; window.open("multipleSchedule.jsp?date="+f_date+"&date1="+f_date1, "window", "toolbar=no,scrollbars=no,height=220,width=510"); } it is workin fine in ie6 and ie8 but in firefox on clicking it nothing is happening. … |
|
Hey all. I have been messing around with javascript for a while now and I am not all too good with it. I built a little javascript program that takes the input from a text box and depending on what's in there, it goes to a certain page. I am … |
|
hi.. just started learning ajax.. could you all please help me with this code.. when i execute i get this Resource id #3 I have posted the code below. there are two files.. 1) getvendorname.php 2) sales.htm (containing the javascript function) [CODE]<script type='text/javascript'> function getname() { var vendorID = document.getElementById("idvid").value; … |
|
Hi My problem is. I'll break down the problem to make it clear. [CODE] <html> <head> <body> <!-- ajax call that opens a jQuery UI Dialog box --> <a href="#" onclick="$.ajax({beforeSend:function(request){$('#onboarding_accounts').show();}, complete:function(request){$('#onboarding_accounts').hide();}, data:'', dataType:'script', type:'post', url:'/proxy/account/load_create_account?method=get'}); return false;">Create New Account</a> </body> </html> [/CODE] It should be noted that the dialog … |
|
hi i'm using a jQuery Inline Modal Window. the code for it can be found here [url]http://www.sohtanaka.com/web-design/inline-modal-window-w-css-and-jquery/[/url] i currently have an array within a function in javascript. when i click on the appropriate link for the inline modal, the inline modal window appears. my function looks something like this [CODE] … |
|
hello i think i made small mistake in the following code but i dont know what it is exactly: [CODE]<script language="JavaScript"> function doType(id,typewhat) { var doc=document.getElementById(id); doc.innerHTMl = typewhat; } </script>[/CODE] could u plz help?? |
|
|
[CODE]<html> <head> <title>An Ajax demo</title> <script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP"); } function getData(dataSource, divID) { if(XMLHttpRequestObject) { var obj = document.getElementById(divID); XMLHttpRequestObject.open("GET", dataSource); XMLHttpRequestObject.onreadystatechange = function() { if (XMLHttpRequestObject.readyState == 4 … |
I'm looking for someone who knows Javascript [I]well[/I]. I've posted on other forums and it appears that no one is able to help me with getting a script to work on my page. |
|
hi friends i want to apply javascript on the the go-btn so if i do give wrong password the alert box should pop up itryed but i didnt figure it out....please help me out.. below is the code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta … |
|
i came across a jquery slide out menubar here [url]http://tympanus.net/Tutorials/UIElements/SlideOutMenu/[/url] . its a mouse over menu bar made with jquery . however i would like to know if the slide out can be brought out through a click rather than a mouse over . here is the source : [CODE]<!DOCTYPE … |
|
I am selecting an image as part of a html form. Once selected, jQuery assigns a user-defined attribute of the image to a hidden form variable and passes it to form handler. Neat. Problem is when I dynamically add images that can be selected. I am using live function to … |
|
Hi All, I have some trouble getting some javascript code implemented Its basically because I havent used much it before. Its like this: When admin chooses to delete a page from his site via this link: [CODE] <?php echo '<a href="process_delete_page.php?pid=' . $id . '">Delete page!</a>'; ?> [/CODE] Before this … |
|
The script is used in my newest chrome app [url]https://chrome.google.com/webstore/developer/detail/bomkcodcgmbjjhogdjophonfhgpegoni/[/url] Site: [url]http://codestrix.co.cc/pixels/[/url] The above script is a good to get stated with HTML5 canvas. Much of it is named so as to be self explanatory but any doubts you are more than welcome to post it here. |
|
I have a form that contains multiple dropdowns that are dynamically populated using AJAX not CSS, dependent upon the form above it. The page works fine in FF and Safari, but when I try it in IE, the first dropdown is populated, but the others remain greyed out. Here is … |
|
Hello community, I was really hoping to get some guidance on a little issue I'm having. I am in the process of building a site for my aunt, I'm mostly self taught and plugging away at building out my first multi page site. Alas I have encountered a problem: I … |
|
I found this cool script but i dont know how to modify it. i want the notification to fade in after 1 second automatically without clicking on the link [CODE] $(function(){ $('#add-sticky').click(function(){ var unique_id = $.gritter.add({ title: 'This is a sticky notice!', text: 'Lorem ipsum dolor sit amet, consectetur adipiscing … |
|
Hi! I made a page where users can listen to music (with javascrip). I add a popup where they can choose what music to play, and when they choose it, this popup window close itself, and two hidden fields get the song information. In the script (you can see it … |
|
Hello, My project is: 2 Panels with images, where one moves inside the other. I get the position of the second panel and make an image in the hard drive with them overlapping. If I use a simple Web Form there is no problem, all works just fine. MY PROBLEM … |
|
hello all i have a jsp page in which i am opening a pop up window using following code.Now i want not to include toolbar,scrollbar in my pop up window. [COLOR="Red"]window.open("multipleSchedule.jsp?date="+f_date+"&date1="+f_date1);[/COLOR] please tell me the way.I know i have to use toolbar=no but where to use in this code.i have … |
|
I have searched everywhere and seems unable to find postcode map data (preferably in lat/long) of Canada. I would need these data up to the LDU in the postcode. My idea is to create a map with the postcode overlay similar to this: [URL="http://www.imapbuilder.com/customization/google_map_zipcode_search_for_congressional_district.php"]http://www.imapbuilder.com/customization/google_map_zipcode_search_for_congressional_district.php[/URL] Are there any third party data … |
|
i have seen resume's of many developers they had put expert in JS and Jquery .is that they will right the script form the scratch or they will download and customize to their requirements ??even i known this ..so shall i put JS and Jquery in my profile.? |
|
hi there guys :) im currently working on a project with jquery... the thing is.. i need to change the contents of a div named "sub2" with the contents of "pets.html"... i've read some tutorials and i thought the best way to do this is through the use of jquery... … |
|
Hi, Can someone help me with writing the script to be able to pull the information from the database without refreshing everytime something new has been added? My codes at the moment read: [CODE]$recentupdates = mysql_query("SELECT * FROM status NATURAL JOIN users WHERE user_id = users.id ORDER BY status_id DESC … |
|
hi guys I have the following code that works fine in all browsers but all IE versions. When I select an option from the first drop down the second one is to be dynamically populated by details based on the first selection. Unfortunately in IE the second dropdown shrinks and … |
|
Hello, My friend gave me a code to try a bit. What it does is that it gets a text and format it. Here it is: [code]function boldAndItalicize(text) { return text.replace(/&/g, '&').replace(/</g, '<') .replace(/(\*+)([^*]{1,1024})(\*+)/g, function (whole, open, content, close) { if (open.length === close.length) { switch (open.length) { case 1: … |
|
Hi! I have a problem with a small effect. The idea is to dynamicly change the pages in a single box, and the header and the footer of the main page to hide or show the box with the information. That's the idea.. [CODE] <?php session_start(); require "config.php"; ?> <!DOCTYPE … |
The End.