15,113 Topics

Member Avatar for
Member Avatar for Djmann1013

Hi, I have this script here: Enter Chat and press enter <div><input id=input placeholder=you-chat-here /></div> Chat Output <div id=box></div> <div id=pubnub pub-key=demo sub-key=demo></div> <script src=http://cdn.pubnub.com/pubnub-3.1.min.js></script> <script>(function(){ var box = PUBNUB.$('box'), input = PUBNUB.$('input'), channel = 'chatlllll'; PUBNUB.subscribe({ channel : channel, callback : function(text) { box.innerHTML = (''+text).replace( /[<>]/g, '' ) …

Member Avatar for pritaeas
0
275
Member Avatar for rotten69

Hi everyone, I'm using jquery in this piece of script and also trying to call the functions. But, they aren't working at ALL and the firefug is saying that there is an error in the script. The error is [QUOTE]missing ) in parenthetical [Break On This Error] $.post('ajax/like_add.php', (article_id:article_id), function(data){ …

Member Avatar for lambing
0
198
Member Avatar for vijayram

Hi everybody, i have problem in image resizable and draging. what is the problem in my code. plz help me. var c; var crop_api; $(document).ready(function(){ var uploader = new qq.FileUploader({ //var list=document.getElementById('fileList'); element: document.getElementById('upload_button'), // element: $('#upload_button'), action: upload_url, // action: "http://localhost/public_html/web/meetnewpeople/upload" , params: { meetnewpeopleid: 1 }, allowedExtensions: ['jpg','webm','png','gif'], …

0
68
Member Avatar for Violet_82

Hi peeps, I was thinking to develop something similar to this http://www.toyota.co.uk/cgi-bin/toyota/bv/generic_editorial.jsp?navRoot=toyota_1024_root&noLeftMenu=true&edname=See-the-range&zone=Zone+See+the+Range&id=SeeTheRange_Link It is in flash now, and I would like to have something similar in jquery, what would be the best way to proceed do you think? Any advice? thank you

Member Avatar for Violet_82
0
587
Member Avatar for SylvesterAbreu

Hi everyone. A friend of mine has a web store at bigcartell(HTML,CSS,JavaScript) and needs an extra textbox (which can be created within div or form) on specific products where costumers can add their personalised message to the product. I wonder how could I add this message to the order or …

0
57
Member Avatar for Violet_82

peeps, given the following markup <link rel="stylesheet" type="text/css" href="assets/style_images.css"><!-- MY CSS --> <script type="text/javascript" src="assets/big_images.js"></script> <div class="car_model_description"> <div class="compare_button"> <a href=#><img src="assets/compareBTN.png" alt=""></a> </div> <p id="caption">Default text</p> </div> <div class="image_container"> <img src="wathever.jpg" alt="" id="placeholder_image" > <img src="wathever1.png" alt="" class="image_invisible"> <IMG SRC="wathever2.png" alt="" class="image_invisible"> <IMG SRC="wathever3.png" alt="" class="image_invisible"><!--to change --> <IMG …

Member Avatar for Violet_82
0
149
Member Avatar for my3h

Hi, i have a dropdown list where i have 3 options like <tr> <td><?php echo $entry_shippingtype; ?></td> <td><select name="type"> <option value="free">Free Shipping</option> <option value="flat">Flat Rate Shipping</option> <option value="weight">Weight Based Shipping</option> </select></td> </tr> <tr> <td><?php echo $entry_shippingamount; ?></td> <td><input type="text" name="shippingamount" value="<?php echo $shippingamount; ?>" /></td> </tr> When i select free …

Member Avatar for Airshow
0
101
Member Avatar for Cupidvogel

I am using the following code to select a date range using 2 inline datepickers. There are two date fields (**div**, with class **dateheader**). When a date is selected, that datepicker slides up. Basically when the date **div** is **clicked**, first it is checked whether the corresponding datepicker is already …

0
140
Member Avatar for xiiopao

good day, Im quite new with ASP and is still studying it Im just wondering why everytime I use Javascript codes the error Language 'JavaScript' is not supported at this moment! is appearing in my browser but then when I use VBScript it works out just fine.

0
83
Member Avatar for jpknoob

Hello all, I have a drop down that is populated using php and mysql. when the user makes a selection, I run the function showUser(), however, nothing happens when i make a selection, can anyone help with what I'm doing wrong? The JS [CODE] <script type="text/javascript"> function showUser(str) { if …

Member Avatar for cscheck
0
359
Member Avatar for ak47carbon

i want that after validation of form with ajax it will be redirect on another page but my coding is showing result in specfic div id=result . i am getting result on index.php which coding is following <div class="c_right"> <div> <div class="t_h_c"> Hi Guest </div> <div id="result" class="error"> </div> <div …

Member Avatar for diafol
0
194
Member Avatar for AHMED_DB

Many companies normally charge a shipping and handling charge for purchases. Create a Web page that allows a user to enter a purchase price into a text box and includes a JavaScript function that calculates shipping and handling. Add functionality to the script that adds a minimum shipping and handling …

Member Avatar for Airshow
0
161
Member Avatar for Duki

hey everyone - I'm trying to figure out how to call the appropriate httpPost methods for a particular jtable instance? I thought it was specified by the actions in the javascript, but I can't figure it out. Can anyone give me a hand? Here's my script and the httpPost method …

0
116
Member Avatar for softDeveloper

Hi all, Is there a way to upload a text file to an iframe and then instead of getting an iframe with an horizontal scroll bar, getting the text width resized to iframe's width? Best Regards,

0
72
Member Avatar for HTMLperson5

Whats wrong with this code? I have not any errors from ie. <html> <script type="text/javascript"> var a = 1; var b = 2; if (a < b) { document.write("CONDITION TRUE :D") } else { document.write("CONDITION IS FALSE D:") </script> So?

Member Avatar for lambing
0
162
Member Avatar for anu013

Hi guys... I need some help from you all.. **Actual Scenario is :** This is Module to Update today's price of products and these TextBoxes below is created in loop with <input type="text" id="<?="rate2".$i?>" name="<?="rate2".$i?>" size="5" /> ($i is increment variable of loop) also I already got abc rate (Standard …

Member Avatar for anu013
0
307
Member Avatar for SolidSora

I got 3 frames to my animation and I'm trying to get it to play correctly. BUt, it will only play 1 frame of the animation. Here is my code: function playHomeAnimation(){ var timer =0; timer+=1; if(timer==0){ document.getElementById('home').src="home3.jpg"; } else if(timer==1){ document.getElementById('home').src="home2.jpg"; } else if(timer==2){ document.getElementById('home').src="home1.jpg"; } else if(timer>=3){ timer …

Member Avatar for Airshow
0
187
Member Avatar for godinu

Hello, I need something quite similar to the script that eventually loads in the main area here: http://www.discmakers.com/livequote/ -- I'm looking for a way to allow the user to input type of jewel case, packaging, quantities, etc. I like the way this example has drop-down menus for the user to …

Member Avatar for godinu
0
220
Member Avatar for rotten69

Hi everyone, I am trying yo loop through an array property that is multi-valued and so the condition is if that property has what the value specified then alert with a message saying hello.. The other idea is kinda complex that is to check using RegExp... Here is the code.. …

Member Avatar for AleMonteiro
0
96
Member Avatar for DJ-DOO

Hi! I'm hoping someone can help me here, I've been looking at highcharts as a way of graphing my dynamic data from my sql db....What I've come up with so far is below, it's strange, it seems correct, the data is correct, however, I can't get my chart to render, …

Member Avatar for pritaeas
0
439
Member Avatar for aks.steven

Dear All friends, I am developing one application which is running on ie all versions. but when I run same application on firefox/mozilla it shows error. html code: **<iframe id='mFrame' name='mFrame' class='mFrameCSS' src="" frameborder=0 vspace=0 hspace=0 marginwidth=0 marginheight=0 width=100% scrolling=no></iframe>** JavaScript code : **<script language=javascript> var lMWFrame=document.getElementById('mframe'); alert('lMWFrame :--->'+lMWFrame); //shows …

Member Avatar for LaxLoafer
0
210
Member Avatar for ak47carbon

what is frameworks, whats the benefits of framework which is famous framework how to use it , what is cakephp i know what is cms but i didnot know when a person ask me in intervew which version of cms are u using,?i always make my own cms for website …

Member Avatar for pritaeas
0
202
Member Avatar for mithunhussey

<div style='float:left;padding:5px 5px 5px 0;'><a expr:share_url='data:post.url' href='http://www.facebook.com/sharer.php' name='fb_share' type='box'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div> i need to add '<?php echo $strALink;?>' this variable into tis code . for facebook sharing i don't know . plz help me.

Member Avatar for mithunhussey
0
158
Member Avatar for arunthewolf

Kindly note the error which i made in my code : <html> <head> <script type="text/javascript"> function createCanopyPath(context) { // Draw the tree canopy context.beginPath(); context.moveTo(-25, -50); context.lineTo(-10, -80); context.lineTo(-20, -80); context.lineTo(-5, -110); context.lineTo(-15, -110); // Top of the tree context.lineTo(0, -140); context.lineTo(15, -110); context.lineTo(5, -110); context.lineTo(20, -80); context.lineTo(10, -80); context.lineTo(25, …

Member Avatar for lambing
0
231
Member Avatar for ryanhx64

**Ok i have this script it opens desired page then closes at desired amount of time. How do i make it redirect to something rather than google.com when closing** <!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>Test Page</title> <style> body { font-family: sans-serif; } </style> </head> <body> <p><a href="#" id="target">Start …

Member Avatar for firdaus_lazim
0
385
Member Avatar for plorkz

Ok, I'm new to visual studio 2010 and also new to AJAX in .NET (I've done AJAX via jquery and classic ASP before). I want to simply make a call from a client-side function to a server-side ASP.NET (VB) function to get a set of data, could be a datatable, …

Member Avatar for JorgeM
0
103
Member Avatar for webflybullet

It is possible to build the deaktop web application with the extjs. Please see the demo at here: http://www.tomatocart.com/products/store-demo.html It's very good.

Member Avatar for pritaeas
0
54
Member Avatar for rotten69

Hi there, I was trying different types of array initialisation in Javascript and the book that I was reading, said it is possible to initilaise an array with a speicified number of elements in it. However, I tried it and unfortunately, it didn't work. As you can see the code …

Member Avatar for sepp2k
0
219
Member Avatar for kurtzky

I have an ASP Classic page with SHIFT_JIS charset. It has a meta tag under the <head> section like this: <meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> My page has a text box (txtName) that should only allow 200 characters. I have a Javascript function that validates the character length, which is called …

Member Avatar for kurtzky
0
418
Member Avatar for dinners

I have written a form in html and wish to submit it and run some php code, however once the php file has finished it main job I want to use it to redirect to my homepage where I am using AJAX to change content (where the form is). Is …

Member Avatar for dinners
0
229

The End.